[TYPO3-core] RFC #4453: C style TypoScript comments with start and end in one line lead to errors
Benjamin Mack
benni at typo3.org
Fri Dec 17 16:41:36 CET 2010
Hey all,
this is a SVN patch request.
Type: bugfix
Branches: trunk, 4.4
BT reference: http://bugs.typo3.org/view.php?id=4453
Problem:
Comments like this:
/******* Metatags ******/
config.meta.keywords = foo, bar
in typoscript are treated like a beginning comment without end. The
following code has no influence and is ignored.
Solution:
The check for finding the end of the tag should check if there is a */
anywhere in the current line and not just in the first two characters.
All the best,
Benni.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4453.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101217/a3dbcc10/attachment.txt>
More information about the TYPO3-team-core
mailing list