File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/concepts/matestack/ui/core/collection/order/toggle/indicator Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class Indicator < Matestack::Ui::Core::Component::Static
44 def response
55 span @tag_attributes do
66 span attributes : { "v-if" : "ordering['#{ @component_config [ :key ] } '] === undefined" } , text : @component_config [ :default ]
7- plain "{{
7+ unescaped "{{
88 orderIndicator('#{ @component_config [ :key ] } ', { asc: '#{ @component_config [ :asc ] } ', desc: '#{ @component_config [ :desc ] } '})
99 }}"
1010 end
Original file line number Diff line number Diff line change 1- # Matestack Core Component: Rawhtml
1+ # Matestack Core Component: Unescaped
22
33This element simply renders the value of a variable (or simple a string) wherever you want it ** without escaping HTML** .
44
@@ -15,7 +15,7 @@ Rendering some HTML.
1515``` ruby
1616
1717def response
18- rawhtml <<~HTML
18+ unescaped <<~HTML
1919 <h1 >Hello World</h1 >
2020 <script >alert (' Really Hello!' ) </script >
2121 HTML
You can’t perform that action at this time.
0 commit comments