We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecebbcd commit 78ecbdbCopy full SHA for 78ecbdb
1 file changed
gui-resources/scripts/js/app.js
@@ -102,6 +102,10 @@ requirejs([
102
layout.blogModel.get('publishedPosts').on('sync', function() {
103
if (!sent) {
104
sent = true;
105
+ // by default cheerio is decoding html value attributes.
106
+ // assume that this is right.
107
+ // ex: syle="background:'url(image)'" became syle="background:'url(image)'"
108
+ layout.$el.options.decodeEntities = false;
109
console.log(JSON.stringify({code: 200, body: layout.render().$el.html()}));
110
}
111
});
0 commit comments