📜 ⬆️ ⬇️

Habrareditor and colons

I wrote an article about Browser-free applications and came across a problem: the habra editor automatically inserts a space after any colon found in the text, even if you mark it with a <code> !

After half an hour of torment, the problem was solved by replacing all the colons with its HTML number (& # 58;).
By the way, replacing in the code also all quotes on & # 34; - also everything was fixed and such quotes habra editor showed "as it was intended by the author"!

')

Source: https://habr.com/ru/post/40708/


All Articles