From d450fdaf599e37316cd6e8146f85ad80c3e9a821 Mon Sep 17 00:00:00 2001 From: Luigi Serra Date: Thu, 24 Mar 2016 12:08:42 +0100 Subject: [PATCH] postits controllet updates --- controllets/postit-container-controllet/postit-container-controllet.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/controllets/postit-container-controllet/postit-container-controllet.html b/controllets/postit-container-controllet/postit-container-controllet.html index f82bf36..dee73d6 100755 --- a/controllets/postit-container-controllet/postit-container-controllet.html +++ b/controllets/postit-container-controllet/postit-container-controllet.html @@ -260,7 +260,7 @@
  • {{item.title}}

    -

    {{item.content}}

    +

    {{unescapeString(item.content)}}

  • @@ -333,6 +333,12 @@ this.$.newTitle.innerHTML = "Title"; this.$.newContent.innerHTML = "Content"; + }, + + unescapeString: function(string){ + return string + .replace(""", "\"", 'g') + .replace("'", '\'', 'g'); } }); -- libgit2 0.21.4