From 426ad13f85972ed0f7a5aca8ea8804029e47ad7f Mon Sep 17 00:00:00 2001 From: Massimeddu Cireddu Date: Fri, 28 Dec 2018 11:03:47 +0100 Subject: [PATCH] Update hugo-learn.js --- static/js/hugo-learn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/hugo-learn.js b/static/js/hugo-learn.js index d35e89c2ec..ae709180cf 100644 --- a/static/js/hugo-learn.js +++ b/static/js/hugo-learn.js @@ -85,7 +85,7 @@ jQuery(document).ready(function() { $(e.trigger).attr('aria-label', 'Link copied to clipboard!').addClass('tooltipped tooltipped-s'); }); $('code.language-mermaid').each(function(index, element) { - var content = $(element).html().replace(/->>/g, '->>').replace(/<<-/g, '<<-').replace(/->/g, '->').replace(/<-/g, '<-').replace(/&/g, '&'); + var content = $(element).html().replace(/&/g, '&'); $(element).parent().replaceWith('
' + content + '
'); }); });