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

Michael Stucki michael at typo3.org
Wed Mar 29 08:33:38 CEST 2006


+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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list