View Single Post
Old 01-24-2016, 01:43 PM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've found that running Mend Code will make it appear correctly, too (one may have to switch from Book View to Code View and back, but Preview updates immediately after running Mend).

Which all leads me to believe that even though there's nothing technically wrong with the xtml file the AdjustSVG plugin is producing/modifying, that there's something there that WebKit just doesn't like.

In Code View--with Preview Open--After you run the AdjustSVG plugin you can right-click and do Reformat HTML->Mend Code and you can then right-click and "Undo" and "Redo." In this way, you can toggle the image from correct to wrong, while watching the code change in Code View. It's very subtle, but Mend seems to be "fixing" things in the xml declaration and the DOCTYPE only.

Ahhh! It's actually the preserveAspectRatio attribute. Something is lower-casing that entire attribute name. Since I don't see that being set in the plugin, it almost has to be in either sigil_bs4.serialize_xhtml() or something else after.
DiapDealer is offline   Reply With Quote