PHP formatter inserts unwanted whitespace in web pages [message #1219919] |
Fri, 06 December 2013 18:26 |
Hendrik Maryns Messages: 36 Registered: July 2009 |
Member |
|
|
Hi all, I was refered here from e.newcomer with the following question:
Because the server my website is on does not support SSI, but does
support php, all my web pages are .php, although they are mainly html
with just an occasional <?php include. Anyway, it is thus opened with
the php editor (I think), which started introducing a space after each
html tag a while ago, even when this is unwanted, e.g. after <a>. How
can I change this back?
Example:
===============
<li>
<a
href="Wiskunde/Stattiestiek/pdfs/toets 2 stattiestiek 9A 2011.pdf"
title="toets stattiestiek en misleiden" type="application/pdf">Toets
statistiek en misleiden</a>
, gebaseerd op Getal en Ruimte en toets van Bart (
<a type="text/x-tex"
href="Wiskunde/Stattiestiek/bronbestanden/toets 2 stattiestiek 9A
2011.tex"
title="TeX-bronbestant voor toets">TeX-bronbestand</a>
).
Note the unwanted spaces and linebreaks before and after <a> which is
immediately followed by , or ) or preceded by (
Cheers, H.
--
Hendrik Maryns
http://hendrikmaryns.name
===========
signature.asc?!?
→ http://en.wikipedia.org/wiki/PGP
→ http://mindprod.com/project/mailreadernewsreader.html
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03469 seconds