|
@@ -1,7 +1,7 @@
|
|
|
<!doctype html>
|
|
<!doctype html>
|
|
|
|
|
|
|
|
<html>
|
|
<html>
|
|
|
-<markdown-html version="1.10.0" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
|
|
|
|
|
|
|
+<markdown-html version="1.10.1" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
|
|
|
license="CC BY-SA 4.0 International"></markdown-html>
|
|
license="CC BY-SA 4.0 International"></markdown-html>
|
|
|
|
|
|
|
|
<head>
|
|
<head>
|
|
@@ -555,6 +555,12 @@
|
|
|
window.open(url, '_blank');
|
|
window.open(url, '_blank');
|
|
|
event.preventDefault();
|
|
event.preventDefault();
|
|
|
return;
|
|
return;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ const newWindow = window.open('', '_blank');
|
|
|
|
|
+ newWindow.document.write(imgOrSvg.outerHTML);
|
|
|
|
|
+ newWindow.document.close();
|
|
|
|
|
+ event.preventDefault();
|
|
|
|
|
+ return;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (event.target.closest('.back-btn')) {
|
|
if (event.target.closest('.back-btn')) {
|