frontend/Utils: jquery

This commit is contained in:
Cadey Ratio 2016-12-14 18:29:10 -08:00
parent cf0cb7b780
commit 50264d5191
2 changed files with 3 additions and 3 deletions

1
frontend/.psc-ide-port Normal file
View File

@ -0,0 +1 @@
15947

View File

@ -1,8 +1,7 @@
// Module App.BlogEntry
function htmlDecode(input) {
var doc = new DOMParser().parseFromString(input, "text/html");
return doc.documentElement.textContent;
function htmlDecode(value){
return $('<div/>').html(value).text();
}
exports.mdify = function(id) {