Commit d450fdaf599e37316cd6e8146f85ad80c3e9a821

Authored by Luigi Serra
1 parent db65a851

postits controllet updates

controllets/postit-container-controllet/postit-container-controllet.html
@@ -260,7 +260,7 @@ @@ -260,7 +260,7 @@
260 <li> 260 <li>
261 <a href="#"> 261 <a href="#">
262 <h3>{{item.title}}</h3> 262 <h3>{{item.title}}</h3>
263 - <p>{{item.content}}</p> 263 + <p>{{unescapeString(item.content)}}</p>
264 </a> 264 </a>
265 </li> 265 </li>
266 </template> 266 </template>
@@ -333,6 +333,12 @@ @@ -333,6 +333,12 @@
333 this.$.newTitle.innerHTML = "Title"; 333 this.$.newTitle.innerHTML = "Title";
334 this.$.newContent.innerHTML = "Content"; 334 this.$.newContent.innerHTML = "Content";
335 335
  336 + },
  337 +
  338 + unescapeString: function(string){
  339 + return string
  340 + .replace("&quot;", "\"", 'g')
  341 + .replace("&#039;", '\'', 'g');
336 } 342 }
337 343
338 }); 344 });