< in html tags


Having a < inside an html tag creates a problem

Moving this to Help because bug reports need to follow the bug report template, please.


This isn’t a bug. You can’t have that character inside html tags. It’s incorrect syntax.

You can use &lt; instead.

1 Like

Can’t it be automatically replaced with regex? I don’t want to deal with constantly replacing for this character while studying.

Replacing that symbol automatically would break all of the HTML tags. You could set up a text replacement (built-in feature on Mac, probably need an app on Windows) to automatically change something like ,> into the appropriate code as you type (the comma is to make it something you wouldn’t normally type, so you can still type the symbol when you need to), but you wouldn’t save much typing.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.