Closed KirilSoshnin closed 3 years ago
So am I right that you are saying: You specify the URL http://test.com/test\_this/and-that/now
but you actually want the URL http://test.com/test_this/and-that/now
?
If so, why don't you just use the correct URL without the backslash? The URL is not part of the paragraph text so the general escaping doesn't apply to it.
Some characters, like
_
, are escaped in markdown as they represent markdown syntax (italics in the case of the underscore). Strings are escaped too, for example the backlash:⬇
However, in the
href
of links and images, the backlashes stay unescaped. For example:⬇
(the alt text is unescaped correctly)
Expected:
Using Kramdown 2.3.1
Let me know if there's anything else I should provide.