Skip to main content
johnrellis
Legend
April 1, 2026

Can't enter angle-bracket colon angle-bracket in a post's title

  • April 1, 2026
  • 4 replies
  • 106 views

If I try to enter “<colon>” in a post’s title, I get a silly error message, “The title contains HTML tags”.  I guess the forum coders don’t understand how to escape text with special characters to produce valid HTML.

 

 

 

 

    4 replies

    johnrellis
    Legend
    April 2, 2026

    @Nancy OShea Script injection is a common hacking practice. DON’T DO TH@T!

    That’s not relevant to the issue here. It’s elementary programming for a platform generating HTML to encode literal text entered by the user into HTML that safely displays that literal text, e.g. see here:

    https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Safely_inserting_external_content_into_a_page

    kglad
    Community Expert
    Community Expert
    April 2, 2026

    i showed how to do that and how to use P:

    johnrellis
    Legend
    April 2, 2026

    [View this post in your web browser. It contains formatting and images that don't appear in email.]

     

    @kglad i showed how to do that and how to use P<colon>

    Your posts showed that it could be done but didn’t explain how?

    Nancy OShea
    Community Expert
    Community Expert
    April 2, 2026

    Script injection is a common hacking practice. DON’T DO TH@T!

    I also block insertion of html special characters on my own websites. That’s a standard security practice. We can’t be too careful in these modern times.

     

    Nancy O'Shea— Product User & Community Expert
    johnrellis
    Legend
    April 1, 2026

    @kglad, are you able to make a test post with “<colon>” in the title?

    kglad
    Community Expert
    Community Expert
    April 1, 2026

    yes

     

     

    kglad
    Community Expert
    Community Expert
    April 1, 2026

    based on your complaint about P: , there’s probably a way