You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the examples below (ordinary text, code block, pre, code & div), the same string is used. As can be seen, showdown fails in the last three cases. A numeric instead of an alphabetic character directly after the < works fine for all cases. Also note the ordinary text version also fails in the showdown jsfiddle
//ok for ordinary text
for(i=1;i<a;i++){sum+=i}
//ok in backtics
for(i=1;i<a;i++){sum+=i}
//fails in pre block
for(i=1;i
/*fails in code block*/
for(i=1;i
//fails in div
for(i=1;i
The text was updated successfully, but these errors were encountered:
rmzetti
changed the title
Translation fails with when pre content contains <a
Github markdown viewer fails when text contains <a
May 9, 2020
For the examples below (ordinary text, code block, pre, code & div), the same string is used. As can be seen, showdown fails in the last three cases. A numeric instead of an alphabetic character directly after the < works fine for all cases. Also note the ordinary text version also fails in the showdown jsfiddle
//ok for ordinary text
for(i=1;i<a;i++){sum+=i}
The text was updated successfully, but these errors were encountered: