This function takes in a block of HTML block, and produces a cleaned up, indented, printable version of it.
Contents |
HtmlSourceFormat( htmlblock )
This function returns the printed version of the text. Use with HtmlTidy() for maximum results.
This is a very useful function for those that wish to pre-process user input forms that may result in some adding in HTML text that may break the rendering of your application. For example, inserting HTML into their display name in a CMS system.