mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
make html-unsafe for text/html panels
This commit is contained in:
parent
5ac6d28abf
commit
f90db0ed50
@ -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>
|
Loading…
Reference in New Issue
Block a user