[TYPO3-core] RFC: #5003: prefixRelPath() incorrectly changes links to anchors

Jigal van Hemert jigal at xs4all.nl
Thu May 6 23:56:25 CEST 2010


Hi Benni,

Benjamin Mack wrote:
> can you tell us again how to reproduce this issue?

page = PAGE
page {
	10 = TEMPLATE
	10.template = TEXT
	10.template.value (
<html>
	<head>
	</head>
	<body>
		<a href="#4815162342">Get Lost</a>
	</body>
</html>
	)
	10.relPathPrefix = mypath/
}

This results in:

(...)
	<body>
		<a href="mypath/#4815162342">Get Lost</a>
	</body>
</html>

The issue was incorrectly attributed to automaketemplate, but 
relPathPrefix is of course handled by t3lib_parsehtml

Regards,
-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list