Unescape HTML
From UBot Studio
(Difference between revisions)
(Created page with " This function is an Advanced Text function in the UBot Extended Library. This function will convert entity characters to their HTML equivalents. '''HTML to Unescape:''' ...") |
Latest revision as of 20:57, 18 June 2015
This function is an Advanced Text function in the UBot Extended Library. This function will convert entity characters to their HTML equivalents.
HTML to Unescape: The HTML being unescaped.
To learn more about HTML equivalents, please see [1].
[edit] Example
set(#sampletext,$escape html("<p>This text is normal.</p> <p><b>This text is bold</b>.</p>"),"Global") alert($unescape html("<p>This text is normal.</p> <p><b>This text is bold</b>.</p>"))
Running the script will escape the html provided with their equivalents. The alert command will then run and convert the escaped html back to it's original form.