Skip to content
Snippets Groups Projects
Verified Commit 684ee432 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Lower aggresivity of imagefix filter

parent e132da91
Branches
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ var highlightjs = require('highlight.js');
renderer.image = function(href, title, text) {
if(process.argv[3] !== "final") {
if(!href.match("://")) {
if(!href.match("://") && href.match("/")) {
href = "https://ok1kvk.cz"+href;
}
}
......@@ -13,7 +13,7 @@ renderer.image = function(href, title, text) {
if (title) {
out += ' title="' + title + '"';
}
out += this.options.xhtml ? '/>' : '>';
out += '>';
return out;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment