2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

docs/_plugins/highlight_alt.rb: Use correct tag name in error message

This commit is contained in:
Chris Rebert
2016-06-19 23:01:10 -07:00
parent b17008c771
commit c700e25ef2
+2 -2
View File
@@ -30,11 +30,11 @@ module Jekyll
@options[:linenos] = "inline" if @options.key?(:linenos) and @options[:linenos] == true @options[:linenos] = "inline" if @options.key?(:linenos) and @options[:linenos] == true
else else
raise SyntaxError.new <<-eos raise SyntaxError.new <<-eos
Syntax Error in tag 'highlight' while parsing the following markup: Syntax Error in tag 'example' while parsing the following markup:
#{markup} #{markup}
Valid syntax: highlight <lang> [linenos] Valid syntax: example <lang>
eos eos
end end
end end