[TYPO3-english] HTML cleaning
Joerg Wagner [DigiLog]
news.netfielders.de at digilog.de
Tue Dec 15 09:36:21 CET 2009
Igor,
htmlSpecialChars is the property you are looking for.
But basically you should not try to create an anchor tag yourself. Use
the typolink object instead. E.g.:
NO{
doNotShowLink = 1
stdWrap2.cObject = COA
stdWrap2.cObject{
10 = TEXT
10{
field = nav_title//title
typolink.parameter.field = uid
}
}
}
The typolink param "parameter" allows for a wide variety of URLs and
targets, like internal links ("32"), external links
("http://www.mydomain.de"), JS popup windows ("32 400x500" or
"http://www.mydomain.de 400x500")...
See TSref for all possibilities of the typolink object.
Cheers, Jörg.
Igor Mitev schrieb am 14.12.2009 19:11:
> Yes it does, because the browser recognizes the output as text and not as a
> tag.
>
> <div id="breadcrumb"><a href="index.php?id=1"
> onfocus="blurLink(this);"
> >Дома</a>&nbsp;&raquo;&nbsp;Производи</div>
>
> TYPO3 changes even the attribute quotes ...
>
> Igor
>
>
>
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org
> [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Oliver Klee
> Sent: Monday, December 14, 2009 4:47 PM
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] HTML cleaning
>
> Hi,
>
> Igor Mitev schrieb:
>> When the code is generated TYPO3 changes the tag <> symbols to < and
> >
>> and the breadcrumb is rendered as text.
>
> Does this cause any problems in the output for you?
>
> Usually, in HTML < and > should be encoded as < and > (unless
> they are part of HTML tags, of course).
>
>
> Oli
More information about the TYPO3-english
mailing list