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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user