[TYPO3-english] Ampersand on XML

Bernhard Kraft kraftb at kraftb.at
Sun Oct 4 23:20:20 CEST 2009


Sergio Catalá Gil schrieb:

> I've seen the ampersand symbol (&) is a reserved character for XML. So
> when trying to show my tt_news feeds, if my subheader contains something
> like this:
> 
> "Durante la jornada se mostrarán las ventajas que aporta..."

Either wrap it in CDATA like Steffen suggested. Or pass it through PHPs
"htmlspecialchars" (or it's pendant in TypoScript).


greets,
Bernhard


More information about the TYPO3-english mailing list