[TYPO3-english] Whitespace and newline in page.headerData
elijah
elijah.alcantara at gmail.com
Mon Apr 27 10:01:34 CEST 2009
Hi,
1. This doesn't seem to affect the w3c validation but this has been
bothering me for quite some time now, when I add/replace the <title> tag
using page.headerData - the wrap goes like this =
<title>MySite |</title>
The nbsp; code shows up in the source, but in the frontend it works
fine. I know it should be a minor issue but it looks ugly.
Question:
??? How can I add whitespace in the TS without using html code ???
2. Also, adding code via page.headerData doesn't put the result in a new
line, but rather besides the code above it:
---
<base href="http://mysite.com/" /><title>my site</title>
---
Makes it harder to read (I also tried seo_basics formatter, it doesn't
arrange it).
What would be ideal is:
---
<base href="http://mysite.com/" />
<title>my site</title>
---
Question:
??? How can I be able to make the code I add to the header drop into a
new line, of course without using any html code ???
Thanks for reading,
Elijah
More information about the TYPO3-english
mailing list