[MAGNOLIA-234] Kupu produces invalid XHTML Created: 06/Dec/04  Updated: 18/Mar/05  Resolved: 18/Mar/05

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 2.0 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Minor
Reporter: Massimiliano Segreto Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Kupu claims to be full xhtml compliant editor, but in the Magnolia 2.0 implementation produces unclosed break tag (<br> instead of <br/>) which is invalid for any flavour of XHTML.
I was not able to find a particolar setup parameter. The "strict_output" parameter passed in the config object by the Magnolia dialog which calls Kupu is already set to "1".



 Comments   
Comment by Michael Aemisegger [ 25/Jan/05 ]

this makes it impossible to parse richedit text with xml parsers to do any intelligent stuff for output (e.g. link replacement)

Comment by Fabrizio Giustina [ 12/Mar/05 ]

unclosed <br> tag are added by magnolia, not kupu. I will try converting everything to valid xhtml

Comment by Fabrizio Giustina [ 18/Mar/05 ]

fixed in svn

Generated at Mon Feb 12 03:15:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.