note 117153 added to tidy.examples.basic

From: Date: Wed, 22 Apr 2015 20:33:05 +0000
Subject: note 117153 added to tidy.examples.basic
Groups: php.notes 
Request: Send a blank email to php-notes+get-202324@lists.php.net to get a copy of this message
An easy-to-remember alternative for simplicity in a production environment, which will not tamper with your HTML: <?php $html = str_replace("><", ">\r\n<", $html); ?> It might not indent your code, but it makes it a damn site easier to read. ---- Server IP: 92.48.119.85 Probable Submitter: 82.20.218.182 ---- Manual Page -- http://php.net/manual/en/tidy.examples.basic.php Edit -- https://master.php.net/note/edit/117153 Del: integrated -- https://master.php.net/note/delete/117153/integrated Del: useless -- https://master.php.net/note/delete/117153/useless Del: bad code -- https://master.php.net/note/delete/117153/bad+code Del: spam -- https://master.php.net/note/delete/117153/spam Del: non-english -- https://master.php.net/note/delete/117153/non-english Del: in docs -- https://master.php.net/note/delete/117153/in+docs Del: other reasons-- https://master.php.net/note/delete/117153 Reject -- https://master.php.net/note/reject/117153 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202324) next »