reverting escaping just for Markdown formatting, as discussed in #269

This commit is contained in:
El RIDO
2018-01-03 21:18:33 +01:00
parent a95701bba8
commit 5e070db6a1
4 changed files with 9 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ describe('PasteViewer', function () {
results.push(
$('#placeholder').hasClass('hidden') &&
!$.PrivateBin.PasteViewer.isPrettyPrinted() &&
$.PrivateBin.PasteViewer.getText() == $('<div />').text(text).html()
$.PrivateBin.PasteViewer.getText() == text
);
if (format == 'markdown') {
results.push(