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
4
4
def response
5
5
span @tag_attributes do
6
6
span attributes : { "v-if" : "ordering['#{ @component_config [ :key ] } '] === undefined" } , text : @component_config [ :default ]
7
- plain "{{
7
+ unescaped "{{
8
8
orderIndicator('#{ @component_config [ :key ] } ', { asc: '#{ @component_config [ :asc ] } ', desc: '#{ @component_config [ :desc ] } '})
9
9
}}"
10
10
end
Original file line number Diff line number Diff line change 1
- # Matestack Core Component: Rawhtml
1
+ # Matestack Core Component: Unescaped
2
2
3
3
This element simply renders the value of a variable (or simple a string) wherever you want it ** without escaping HTML** .
4
4
@@ -15,7 +15,7 @@ Rendering some HTML.
15
15
``` ruby
16
16
17
17
def response
18
- rawhtml <<~HTML
18
+ unescaped <<~HTML
19
19
<h1 >Hello World</h1 >
20
20
<script >alert (' Really Hello!' ) </script >
21
21
HTML
You can’t perform that action at this time.
0 commit comments