[TYPO3-core] RFC #4453: C style TypoScript comments with start and end in one line lead to errors

Philipp Gampe phil at philippgampe.info
Fri Dec 17 18:38:43 CET 2010


Hi Benni,

Am 17.12.2010, 16:41 Uhr, schrieb Benjamin Mack <benni at typo3.org>:

> 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.

+1 reading and testing with


page.10.subparts.mainContent >
page.10.subparts.mainContent = COA_INT
page.10.subparts.mainContent {
   10 = TEXT
   10.value = Test <br />

/** test comment **/
   20 = TEXT
   20.value = Test 2

   /* 30 = TEXT
   30.value = Test 3
   */
}

Result:
Test
Test 2

Best regards
Phil


More information about the TYPO3-team-core mailing list