1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Merge branch 'master' into search_engine_fts_fix

This commit is contained in:
Laurent Cozic
2019-01-19 18:08:45 +00:00
3 changed files with 33 additions and 1 deletions

View File

@@ -26,6 +26,8 @@
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>

View File

@@ -512,6 +512,9 @@ class MdToHtml {
return this.renderImageHtml_(before, src, after, options);
});
// To disable meta tags that would refresh the page - eg "<meta http-equiv="refresh" content="5; url=/">"
// https://github.com/laurent22/joplin/issues/769
renderedBody = renderedBody.replace(/<meta\s/, '&lt;meta ');
// https://necolas.github.io/normalize.css/
const normalizeCss = `