+1
-1
src/mixins/postUtils.pug
+1
-1
src/mixins/postUtils.pug
···
60
60
var result = html;
61
61
matches.forEach((match) => {
62
62
// Replace each occurrence with an actual img tag
63
-
result = result.replace(match[0], '<a href="' + match[1] + '"><img src="' + match[1] + '"></a>');
63
+
result = result.replace(match[0], '<a href="' + match[1] + '"><img class="inline" src="' + match[1] + '"></a>');
64
64
})
65
65
66
66
return result;