@ -60,6 +60,10 @@ define([
return out;
};
renderer.paragraph = function (p) {
return /<media\-tag[\s\S]*>/i.test(p)? p + '\n': '<p>' + p + '</p>\n';
var MutationObserver = window.MutationObserver;
var forbiddenTags = [
'SCRIPT',
@ -336,6 +336,15 @@ div#modal #content, #print {
padding-left: 0.3em;
}
// fixes image overflowing
media-tag {
height: 100%;
& + * {
margin-top: 1rem;
img {
position: relative;
min-width: 1%;