Rich text formatting is now available on forum.dlang.org
ag0aep6g
anonymous at example.com
Wed Apr 7 08:45:07 UTC 2021
On 07.04.21 08:16, Vladimir Panteleev wrote:
> Escaping all HTML special characters, regardless of context, would break:
>
> - using said characters within code blocks (inline and otherwise), where
> the Markdown processor treats them verbatim;
>
> - using them in Markdown syntax constructs, such as block quotes (though
> arguably we only need to escape `<`) and <URL>s (which arguably isn't
> very useful as we have GitHub auto-links turned on).
>
> So, this transformation would need to be as part of the Markdown parsing
> process (or otherwise replicate a subset of it, to know when to escape
> and when not to, which is bound to be fragile).
Ah, dang it. Never mind then. Thanks for indulging me.
More information about the Digitalmars-d
mailing list