Bug #19339
closedTypoScript Object Browser interprets HTML Tags in comments
0%
Description
In TypoScript you could add comments to your code. Comments begin with # or // and could contain HTML tags like <table>,... . 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 <table> and a <blockquote> Tag -> '// makelinks > # Processing <table> and <blockquote> 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 <table> and <blockquote> blocks separately
(issue imported from #M9360)
Files
No data to display