The Below one is a Part of PHP Code In this the HTML Code given will be cleaned But the output produced is like in a paragraph format (No proper line by line as in input) Can you tell me where i need to add the BR tags so it can display in line by line? Seeking DP Friends Help! Many Thanks!
Ensure debug is disabled, theirfore would look like: <?php $html = "<html><div>hey"; $a = new HtmlFixer(); $a->debug = false; $clean = $a->getFixedHtml($html); echo htmlspecialchars($clean); ?> PHP: