LPS-39510 Escaping the content every time it is used, except when saving in the database