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!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay