DEV Community

Cover image for HTML tags get rendered in post titles in DEV. - `<code>`.
Calin Baenen
Calin Baenen

Posted on

HTML tags get rendered in post titles in DEV. - `<code>`.

Check out HTML <a> tag gets rendered as HTML instead ov being written as text in the notification menu. for more information.




Under certain circumstances, it seems likes certain HTML will be rendered; to my knowledge, this only works for the <a>-tag, as demonstrated here:
[Image ov the bug.]
The true title ov the post is How can I remove the "padding"-like stuff on the <a>? (ov course, without the tag being in a code snippet, but rather wrapped in two backticks).

I conducted an experiment to see if it would happen again, and even this post will be an experiment, but it turns out it does not seem to happen with a <code> tag; however, the setup was different, so that could have threw off the results.
[Image ov the bug not happening.]

Thanks for reading!
Cheers!

Top comments (0)