mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-14 18:27:44 +02:00
All: Fixes #769: Disable META tags in Markdown viewers
This commit is contained in:
parent
97d86825c2
commit
0c98573700
@ -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/, '<meta ');
|
||||
|
||||
// https://necolas.github.io/normalize.css/
|
||||
const normalizeCss = `
|
||||
|
Loading…
Reference in New Issue
Block a user