[TYPO3-core] RFC: fix bug #3022: "c" prefixed to local anchors (<a href="#...">)
Ingmar Schlecht
ingmar at typo3.org
Tue Mar 28 23:35:25 CEST 2006
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: class.tslib_content.php.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060328/57703ab2/attachment.asc
More information about the TYPO3-team-core
mailing list