CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  includes/cmsinit.inc
includes
properties
functions
htmlunprepare

string htmlunprepare(string $str, boolean $nl2br)

Converts all ", ', <, >, & back to normal which are ", ', <, > and &

When the second parameter is set to true it also converts <br />\n to \n

Arguments

  • $str

    The string that has to be converted

  • $nl2br [optional, default value = false]

    Convert <br>