The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

26. October 2011, 11:08:33

burnout426

Posts: 13202

<br> in code tags

How to you escape <br> in code tags?

You shouldn't have to escape markup in code tags at all, but it seems <br> is treated as markup in code tags. I tried escaping as &lt;br&gt;, but the entities are just treated literally (as you would expect in code tags).

See <http://my.opera.com/community/forums/topic.dml?id=1134212> for a test.

Also, I find I have to escape <br> in titles too. That seems kind of weird. And, each time I edit a post, the forums unescape the entities I typed in the title.

Forums » My Opera » My Opera: Feedback, questions and discussions