184
edits
(forgot a )) |
(fix my fix to fix the fixes that i fixed) |
||
Line 35: | Line 35: | ||
var res = '' | var res = '' | ||
for (var i = 0; i < text.length; i++) { | for (var i = 0; i < text.length; i++) { | ||
if (text[i] == '&') continue; | if ((text[i] == '&') && /[0-9a-fl-or]/.test(text[i + 1])) continue; | ||
else if (text[i] == '/') { | else if (text[i] == '/') { | ||
res += '<br>'; | res += '<br>'; |