Add a render option to the remote api renderContent method to emit xhtml rather than html

XMLWordPrintable

      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.

            Assignee:
            Matt Ryall
            Reporter:
            Matt Ryall
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: