Explorar el Código

make html-unsafe for text/html panels

Bruce Sherrod hace 11 años
padre
commit
f90db0ed50
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/app/panels/text/module.html

+ 3 - 3
src/app/panels/text/module.html

@@ -3,8 +3,8 @@
   <markdown ng-show="ready && panel.mode == 'markdown'">
   <markdown ng-show="ready && panel.mode == 'markdown'">
     {{panel.content}}
     {{panel.content}}
   </markdown>
   </markdown>
-  <p ng-show="panel.mode == 'text'" ng-style='panel.style' ng-bind-html="panel.content | striphtml | newlines">
+  <p ng-show="panel.mode == 'text'" ng-style='panel.style' ng-bind-html-unsafe="panel.content | striphtml | newlines">
   </p>
   </p>
-  <p ng-show="panel.mode == 'html'" ng-bind-html="panel.content">
+  <p ng-show="panel.mode == 'html'" ng-bind-html-unsafe="panel.content">
   </p>
   </p>
-</div>
+</div>