All right, I've added the XHML DOCTYPE, the namespace declarations to the html element, and enclosed the body in <body></body> tags. I also added a closing </html> tag. These tags weren't really needed for HTML - an HTML processor is required to infer them if missing - but for XHTML, you should be complete.
And yes, this version does work with the short form version of an <iframe> element. These changes to viewrendered3.py are available in the VR3 branch of my repo at https://github.com/tbpassin/leo-editor On Thursday, March 26, 2020 at 4:26:53 PM UTC-4, Thomas Passin wrote: > > [Later] According to > https://github.com/Python-Markdown/markdown/issues/492, Python MD produces > XHTML fragments. I should add an XHTML DOCTYPE to the document header, > then. I'll do that. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/a5c0ce17-a121-4838-828b-db09ab1d2e77%40googlegroups.com.
