Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

HTML tags are processed inside of the PRE tag

A Bug

If I add an unordered list and wrap it with the PRE tag, I will get this:
  • 1

And this is what I was expecting to see:
<ul><li>1</li></ul>

As of now, the workaround for this is as follows: replace < with &l t; (without spaces) and > with &g t; (without spaces).

It also works with other HTML tags as well:
bold
table header 1table header 2
table cell 1table cell 2

Comments

Sign up to access this!
  • Danial Zahid avatar
    Danial Zahid username pic Joined 7y ago
    Baldi Manager GoldSrc Manager Moderator
    Offline
    2,232 points Ranked 20409th
    60 medals 4 legendary 16 rare
    • Submitted 50 Gamefiles Medal icon
    • Submitted 15 Tools Medal icon
    • Submitted 60 Prefabs Medal icon
    • Returned 5000 times Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • Submitted 20 Gamefiles Medal icon
    Danial Zahid avatar
    Danial Zahid
    Bug Zapper
    access_time 4d
    Isn't that how, by default, the HTML works? The HTML tags inside the <pre> tag are rendered the same they would outside it.
    And the "workaround" you mentioned is actually the correct method of escaping the rendering in the <pre> tag.
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Reporter

s0nought avatar
s0nought Joined 9y ago
Offline
4,309 points Ranked 1572nd
19 medals 1 legendary 3 rare
  • Submitted 50 Gamefiles Medal icon
  • 6 years a member Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Returned 1000 times Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
s0nought
Sign up to access this!
Sign up to access this!
Sign up to access this!

Details

Resolution
New
Priority
Low
Problem Source
https://gamebanana.com/

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • mode_comment 2
  • access_time 6d

More from Submitter

menu