[TYPO3-core] RFC: fix bug #3022: "c" prefixed to local anchors (<a href="#...">)
Ingmar Schlecht
ingmar at typo3.org
Wed Mar 29 09:22:14 CEST 2006
committed.
- Ingmar
Michael Stucki wrote:
> +1
>
> Michael
>
> Ingmar Schlecht wrote:
>
>> This is a CVS patch request.
>>
>> Type: Bugfix
>>
>> BT reference: http://bugs.typo3.org/view.php?id=3022
>>
>> Description:
>> TYPO3 4.0 always prefixs local anchors with "c", which makes links like
>> <link #myanchor> useless because they get rendered as <a
>> href="#cmyanchor">. This "featuure" is only useful if you link to
>> content elements like <link #17> so it becomes <a href="#c17"> which is
>> correct.
>>
>> Solution:
>> Prefix the "c" only if the anchor is an integer and thus considered to
>> be a tt_content UID.
>>
>> Branch:
>> TYPO3_4-0
>>
>> cheers,
>> Ingmar
>
More information about the TYPO3-team-core
mailing list