Skip to content

Commit

Permalink
img scr - not working medovob#5, may be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
s5unty committed Aug 18, 2015
1 parent bdeaf41 commit 3477b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/oblong-workflowy.js
Expand Up @@ -123,7 +123,7 @@ jQuery(document).ready(function($) {
$clone = $content.clone();
$clone.find(".spacer").remove();
var text = $clone.text();
$markdown.html(html_sanitize(converter.makeHtml(text)));
$markdown.html(html_sanitize(converter.makeHtml(text), function(uri) {return uri;}));
$markdown.find("pre code").addClass("syntax-highlight").css("width","auto !important");
$markdown.syntaxHighlight();

Expand All @@ -146,7 +146,7 @@ jQuery(document).ready(function($) {

$("#exportPopup .previewWindow").find(".note").not(".markdown-enabled").addClass("markdown-enabled wikistyle").each(function() {
var text = $(this).text();
$(this).html(html_sanitize(converter.makeHtml(text)));
$(this).html(html_sanitize(converter.makeHtml(text), function(uri) {return uri;}));
$(this).find("pre code").addClass("syntax-highlight");
$(this).syntaxHighlight();
});
Expand Down

0 comments on commit 3477b36

Please sign in to comment.