-
Type:
Suggestion
-
Resolution: Won't Fix
-
None
-
Component/s: Core - Content REST APIs
At present, the renderContent method produces HTML (4.0 transitional) that is almost parseable by an XML parser. It would be much simpler if things were taken that extra step and we could request an xhtml format (eg. similar to how parameters can be sent through).
The primary problem that we've noticed so far is that <col> element don't have end tags (as per the HTML 4.0 Transitional specification).
Cleaning up the renderContent output is possible using JTidy, however that introduces other problems. We could probably also clean up the content using a regular expression targeting <col> elements.
<img> tags are in the same boat. There's undoubtedly more, but we're just noting them as they break things.
- relates to
-
CONFSERVER-5480 Confluence does not generate valid HTML 4.0 Transitional output
-
- Closed
-