File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,18 @@ def render(context)
26
26
script_tag = gist_script_tag ( gist_id , filename )
27
27
"#{ noscript_tag } #{ script_tag } "
28
28
else
29
- raise ArgumentError , <<-EOS
30
- Syntax error in tag 'gist' while parsing the following markup:
29
+ raise ArgumentError , <<~ERROR
30
+ Syntax error in tag 'gist' while parsing the following markup:
31
31
32
- #{ @markup }
32
+ #{ @markup }
33
33
34
- Valid syntax:
35
- {% gist user/1234567 %}
36
- {% gist user/1234567 foo.js %}
37
- {% gist 28949e1d5ee2273f9fd3 %}
38
- {% gist 28949e1d5ee2273f9fd3 best.md %}
39
- EOS
34
+ Valid syntax:
35
+ {% gist user/1234567 %}
36
+ {% gist user/1234567 foo.js %}
37
+ {% gist 28949e1d5ee2273f9fd3 %}
38
+ {% gist 28949e1d5ee2273f9fd3 best.md %}
39
+
40
+ ERROR
40
41
end
41
42
end
42
43
You can’t perform that action at this time.
0 commit comments