[MGNLSTK-420] after upgrading to magnolia 4.1 Html is rendered in templates Created: 03/Aug/09 Updated: 04/Dec/13 Resolved: 06/Aug/09 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 1.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | kedar | Assignee: | Philipp Bärfuss |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
after upgrading to magnolia 4.1 if a string has a Html tag for e.g <p>test</p> the output is <p>test</p> which means it is rendered as pain text and not as a html on the browser. If I think all the html tags are converted to plain text before rendering.We use freemarker templates for rendering I can see it related to the issue |
| Comments |
| Comment by Gareth Jones [ 05/Aug/09 ] |
|
Is this bug breaking the fckEditor control? Any plain text entered into a fckEdit dialog now gets rendered with <p> ... </p> around it |
| Comment by Philipp Bärfuss [ 06/Aug/09 ] |
|
It is indeed related to To give out the plain content you have to unwrap it with the following code: ${stk.decode(content).text}
You can see that in our text image paragraph. |