Issue Bug Closed

#19339TypoScript Object Browser interprets HTML Tags in comments

Stefano Kowalke 09/16/08, 20:30 updated 10/29/08, 19:05

Description

In TypoScript you could add comments to your code. Comments begin with # or // and could contain HTML tags like ,… . The TypoScript Object Browser display this comments (if selected) and interpret the HTML tags.

As one result of interpreting HTML the design of the TypoScript Object Browser crashs like in the screenshot.

In the screenshot the error occur at line
’[externalBlocks] = table, blockquote, ol,ul // makelinks > # Processing and blocks separately’
because the comment contains a
and a
Tag -> ‘// makelinks > # Processing
and
blocks separately’
which both was interprets by TSOB.

After this error the brackets and the value of a TS property was displayed in red.

Follow this steps to reproduce:

  • Go to template module and choose a template
  • Open [lib].[parseFunc_RTE].[externalBlocks]
  • Be sure that [lib].[parseFunc_RTE].[externalBlocks] comes from typo3/sysext/css_styled_content/static/setup.txt
and containing at line 94: # Processing
and
blocks separately

(issue imported from #M9360)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.