-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support for rich text #3
Comments
Question: do I want to just assume the string inside |
I've now succeeded in getting basic HTML markup. The procedure is as follows:
This is all enabled by two tricks:
|
This code is in the rich_text_support branch of my fork at the moment. Shout if you want a pull request! |
Incidentally, I don't believe this breaks anything - DocuBricks XML that includes HTML shouldn't kill the parser (though it is possible it will confuse the editor - haven't tested), and old-style DocuBricks XML will render fine in my modified viewer. At least my version of the viewer before the format change will handle XML with embedded HTML by stripping the tags and keeping the text content. It breaks links, but fails fairly gracefully. |
Oh, and you can see it live on the OpenFlexure Microscope github site! |
This is now added in the viewer upstream through pull request #11. No support in the editor yet, though. |
This issue is to track my progress implementing rich text support.
The text was updated successfully, but these errors were encountered: