[TYPO3-templavoila] Double <a> tags

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Aug 22 11:44:09 CEST 2007


Hi!

John D. Shull wrote:
> I've created a Flexible Content Element containing an Attribute with 
> editing type 'Link Field'.  For the most part this works properly but 
> I've noticed that it creates double or nested <a> tags as below:
> 
> 
> <a href="index.php?id=737">
> <a href="index.php?id=737" >
> <img [...] />
> </a></a>
> 
> Any feedback on a solution is appreciated.  Thanks!

You mapped <a> tag as INNER in the template. You need to map it as 
a:attr:href.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-project-templavoila mailing list