[TYPO3-core] RFC: fix bug #3022: "c" prefixed to local anchors (<a href="#...">)

Franz Holzinger franz at fholzinger.com
Wed Mar 29 08:12:44 CEST 2006


Ingmar Schlecht a écrit :

>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
>
>  
>
+1


- Franz





More information about the TYPO3-team-core mailing list