Ver código fonte

make html-unsafe for text/html panels

Bruce Sherrod 11 anos atrás
pai
commit
f90db0ed50
1 arquivos alterados com 3 adições e 3 exclusões
  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'">
     {{panel.content}}
   </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 ng-show="panel.mode == 'html'" ng-bind-html="panel.content">
+  <p ng-show="panel.mode == 'html'" ng-bind-html-unsafe="panel.content">
   </p>
-</div>
+</div>