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)
2626 script_tag = gist_script_tag ( gist_id , filename )
2727 "#{ noscript_tag } #{ script_tag } "
2828 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:
3131
32- #{ @markup }
32+ #{ @markup }
3333
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
4041 end
4142 end
4243
You can’t perform that action at this time.
0 commit comments