Are generated files std HTML5 ? #1053
Replies: 3 comments 8 replies
-
Hi, Until proven otherwise, I confirm that the pages saved with SingleFile are valid in HTML5. Maybe the parser does not like the fact that it is "compressed"? In that case disabling "HTML content > compress HTML content" in the options page of SingleFile might fix the issue. Could you share a URL where this issue appears? @nuthrash, this kind of issue tells you something? |
Beta Was this translation helpful? Give feedback.
-
Hmm, this is a long story.... So conclusion first,
Take the "Telegram_ Contact @CuCaCh - SingleFile with Notes 1.html" file inside attached file "SingleFile Q&A Discussion #1053 Are generated files std HTML5 - 1.zip" for example. The <iframe id=telegram-post-CuCaCh-12380 scrolling=no style="overflow: hidden; border: medium none; min-width: 320px; height: 734px;" sandbox="allow-popups allow-top-navigation allow-top-navigation-by-user-activation allow-scripts allow-same-origin" srcdoc="<!DOCTYPE html> <html><meta charset=utf-8>
<title>Telegram Widget</title> ... ... ... if (shadowRoot) {processNode(shadowRoot)}}})}})()</script>" width=100% height frameborder=0></iframe> You would see "This media is not supported in your browser" after opened this file by Chrome 105: Even allow everything including the attribute Although you can see the movie player interface on the screen, it is useless to click it, no response at both platforms! Following is technical discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi Regarding HTML Reader sanitizer, I guess I can't do nothing about. The plugin does not have configuration options. |
Beta Was this translation helpful? Give feedback.
-
Hi
I was trying to use SingleFile to produce HTML files to be shown in Obsidian by using the Obsidian HTML Reader plugin (https://github.com/nuthrash/obsidian-html-plugin) which refers in its documentation to SingleFile as a possible source of HTMLs. But when reading with that plugin some pages generated with SingleFile, they show blank. According to plugin documentation this is normal when the file is not an "Standard HTML5 file", so hence my question, are the HTML generated by SingleFile standard HTML5 files? If not, is there some configuration I should change in SingleFile so they are?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions