CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #39299

Using css2inline html entities are converted in symbols when page is rendered

Added by Rino Razzi 11 months ago.

Status:New Start date:2012-07-26
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Hi.

I'm using:
- Typo3 4.5.16
- Templavoila 1.7.0
- Direct Mail 2.6.10
- ods_plaintext 0.1.1
- css2inline 0.1.5

In pages where css2inline is used, html entities present in text content element(For example : ">" < &) are rendered in the front end with their symbol instead of the entity.

For example, in a page there is a text Content element whose text is
"Videoconference & Telepresence".
The text in the DB contains "Videoconference & Telepresence".
so, the "&" character is correctly translated into the & entity.

Looking at the HTML source of the page in front end, instead, the & entity is substituted by the "&" character.

This cause problem of rendering.

I tried with different entities (For example : ">" <) getting always the same result.

Here is the typoscript used for css2inline
@
page >
page = PAGE
page.typeNum = 0
page.config.disableAllHeaderCode = 1
page.10 = USER
page.10.userFunc = tx_css2inline_pi1->main
  1. Select the style sheets to be taken into consideration
    page.10.css = COA
    page.10.css.10 = FILE
    page.10.css.10.file = fileadmin/Newsletters/Klabs/css/styles.css
    page.10.html.10 = TEXT
    page.10.html.10.wrap = <head>|</head>
    page.10.html.10.value = <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  2. Body part
    page.10.html.20 = USER
    page.10.html.20.wrap = <body>|</body>
    page.10.html.20.userFunc = tx_templaVoila_pi1->main_page@

What's the problem?

Thanks in advance

Rino

Also available in: Atom PDF