[Phpmyadmin-devel] about the "\n"

Michal Čihař michal at cihar.com
Fri May 4 13:32:31 CEST 2012


Hi

Dne Fri, 27 Apr 2012 09:26:43 -0400
Marc Delisle <marc at infomarc.info> napsal(a):

> When touching a piece of code, if you see a "\n" generated for HTML,
> it's pretty much safe to remove it (if proven otherwise, we'll build a
> wiki page documenting those cases).
> 
> The reason was to generate more readable HTML code; now that we
> (hopefully) use Firebug to look at the generated HTML, these "\n" are no
> longer needed.

I don't have strong opinion on this. The preferred solution to this
problem for me would be using templates, where the indentation and new
lines come basically for free.

When working with HTML, I anyway use Firebug or Firefox built-in
inspector, which does better job than any HTML formatting would do.

-- 
	Michal Čihař | http://cihar.com | http://phpmyadmin.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120504/7ca98a17/attachment.sig>


More information about the Developers mailing list