Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then they hit a character that is a special character in the medium they are using. This data needs to be escaped to make it work.

...

  • - < > &

  • File special characters like / \ : , spaces and unicode

  • JSON special characters like [, ] , { }, “ ,'

Also look at the simple templating function for HTML which is safe by design.