[TYPO3-english] Problem updating automaketemplate - Found it
Jigal van Hemert
jigal at xs4all.nl
Sat Oct 9 08:41:47 CEST 2010
Hi,
On 9-10-2010 3:46, Denis Bilodeau wrote:
> I found the problem.
>
> The new extension adds empty comments <!-- --> in some TDs. I had
> commented some HTML and the empty comments happens to end the comment
> prematurely, breaking the code. I just need to clean this template of
> this code.
Sorry for the inconvenience. This behaviour was introduced because a lot
of people had problems with mapping empty tags; something like:
<div id="menu"></div>
simply wouldn't be recognized because it had no contents. This was quite
confusing, especially for people new to TYPO3.
The reason for this problem was that the core functions for handling
markers do not handle empty markers (a space or a zero number is also
seen as 'empty') well. The simplest solution was to add an HTML comment
inside the marker.
This has impact for markers inside HTML comments. Can you make a bug
report on bugs.typo3.org for this issue? That way it won't be forgotten.
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-english
mailing list