diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index eb99985..8d0df45 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -536,7 +536,8 @@ $( document ).ready(function() { }, dataType: 'html', success: function(res) { - $( "#preview" ).html(res); + var preview = emojione.toImage(res) + $( "#preview" ).html(preview); $( "#previewinmarkdown" ).removeClass("inactive"); $( "#previewinmarkdown" ).addClass("active"); $( "#comment" ).hide(); @@ -559,4 +560,3 @@ $( document ).ready(function() { }); {% endblock %} -