xml::decode($string)

Removes all xml entities from a string and convert them to html entities first and remove all html entities afterwards.

  • $string (string)
  • return (string)