Skip to content

Commit

Permalink
docs/_plugins/highlight_alt.rb: Use correct tag name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Jun 20, 2016
1 parent b17008c commit c700e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_plugins/highlight_alt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ def initialize(tag_name, markup, tokens)
@options[:linenos] = "inline" if @options.key?(:linenos) and @options[:linenos] == true
else
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}
Valid syntax: highlight <lang> [linenos]
Valid syntax: example <lang>
eos
end
end
Expand Down

0 comments on commit c700e25

Please sign in to comment.