code tag issues

  • 0
  • 5
  • Idea
  • Updated 1 year ago
I like the code tag and I use it often. But it needs a tune-up. Everything in between [code] and the next [/code] I would expect to be unformatted and unmodified monospace.

For starters, you can't post [code]<script> . Saying "javascript is not allowed" on a feature that's there for people to display plaintext code is sort of self-defeating.

Secondly the following posts will come out looking really odd on the desktop app:


[code]""[/code]("support-email" "")

[code] %2b (I get why, but could you not do this?)

Finally on mobile, the formatting is worse. It will insert emojis and links into the text for example. Overall the use of the code tag seems quite different between desktop and mobile.

Photo of kmcgivney


  • 192 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 5
Photo of Rob LaRose

Rob LaRose

  • 2,382 Points 2k badge 2x thumb
Agreed, code tagging is a weak spot.