Why the text after < is stripped off in a post?

  • 12 March 2018
  • 0 replies
  • 60 views

Userlevel 3
  • inSpires others Level 1
  • 25 replies
inSided platform does not allow HTML entities to be posted and this will automatically be stripped out of the post for security reasons. If HTML entities are used, the text which is included after the start of a HTML entity will be completely stripped out, this includes the HTML and the regular text which is included after the HTML entity.

In case you would like to include HTML to communicate/illustrate a specific use case you should add spaces before and after the < > characters, the system will then no longer recognize the text as an HTML entity and the comment can be posted entirely.

Examples:
  • Text between < > characters will be stripped out of comment, example < inSided example >. In this example only the text inSided example will be stripped
  • Text after the < character will be stripped out of comment if the tag is not closed by >, example < 3 followed by text. In this example all the text after < will be stripped.
  • Text will NOT be stripped out of comment if a space is included after the opening tag, example < inSided example >. In this example nothing will be stripped. (Ironically I had to use space after < in the previous examples as well to be able to explain them, otherwise the whole text would have disappeared 😉)

0 replies

Be the first to reply!

Reply