[TYPO3-dev] css_styled_content makes wrong markup

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Mar 1 19:23:13 CET 2008


Uschi Renziehausen schrieb:
> Martin Kutschker wrote:
>> Uschi Renziehausen schrieb:
>>> Hi Masi,
> Hi Masi,
>>>
>>> Martin Kutschker wrote:
>>>> Uschi Renziehausen schrieb:
>>>>>
>>>>> I cannot judge, but I know for sure that there are people around 
>>>>> who are disturbed by this anchor element
>>>>
>>>> Why? TYPO3 had those anchor since I ever saw it, whoch was 3.5. But 
>>>> I guess it has been there much longer.
>>>>
>>>
>>> Why? Perhaps because they are friends of lean clean markup?
>>
>> I like clean markup. But the way some folks fight over the code 
>> reminds me of a term used for guys correcting other guys postings. The 
>> nasty term is "grammar nazi".
>>
>> Sorry, but to me this is nit picking.
> 
> Do you really think it is necessary to insult people just because they 
> do not like superfluous code in their markup?

No. But I recall endless threads with strong demands over details. It 
would have been wiser of course only to think any string words and not 
to comment if I cannot word it in a polite manner.

 > There might be people who
> who exaggerate, but I do find grammar nazi in our current context a 
> little bit over the top. Can you tell me a reason why that anchor 
> element should be kept although it is superfluous, no css changes are 
> needed plus people might encounter problems with it?

Because I simply do not bother to fiddle with the TS of a single CE 
type, when the same markup is fine for all.

>>> It must have been around since the time where section index was 
>>> introduced, because otherwise you could not have section links. And 
>>> in those olden times it was needed, because browsers did not react to 
>>> id but only <a name="somename">Go upstairs</a>
>>> But nowadays all browsers can deal with id as target for a section 
>>> link, so the a element is superfluous and in some rare cases might 
>>> cause layout trouble or invalid code.
>>
>> I don't see how an extra valid element may invalidate the surrounding 
>> code.
> It can happen when you want you want to display your content inside a 
> list, be that dl, ul or dl. This, if I remember right, was the problem 
> of a guy I talked to in irc or I read about it in german or english list.

Aha. Maybe it would have helped your cause to come up with a specific 
problem ahead, not at the end of a long thread.

Masi




More information about the TYPO3-dev mailing list