Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WYSIWYM XHTML output client-side rather than server-side #192

Open
namedgraph opened this issue Jun 6, 2024 · 1 comment
Open

Fix WYSIWYM XHTML output client-side rather than server-side #192

namedgraph opened this issue Jun 6, 2024 · 1 comment

Comments

@namedgraph
Copy link
Member

This involves wrapping the XHTML output into <div xmlns="http://www.w3.org/1999/xhtml"></div> and then canonicalizing the XML.
Doing it on the client-side would allow to get rid of 3 request interceptors:

  • RDFPostCleanupInterceptor
  • UpdateRequestCleanupInterceptor
  • MultipartRDFPostCleanupFilter
@namedgraph namedgraph self-assigned this Jun 6, 2024
@namedgraph
Copy link
Member Author

There is a Javascript XML c14n library that could be used: https://www.npmjs.com/package/xml-c14n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant