summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/rhtml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/scanners/rhtml.rb')
-rw-r--r--lib/coderay/scanners/rhtml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/rhtml.rb b/lib/coderay/scanners/rhtml.rb
index 8afb727..18cc60b 100644
--- a/lib/coderay/scanners/rhtml.rb
+++ b/lib/coderay/scanners/rhtml.rb
@@ -51,10 +51,10 @@ module Scanners
start_tag = match[/\A<%[-=]?/]
end_tag = match[/-?%?>?\z/]
tokens << [:open, :inline]
- tokens << [start_tag, :delimiter]
+ tokens << [start_tag, :inline_delimiter]
code = match[start_tag.size .. -1 - end_tag.size]
@ruby_scanner.tokenize code
- tokens << [end_tag, :delimiter] unless end_tag.empty?
+ tokens << [end_tag, :inline_delimiter] unless end_tag.empty?
tokens << [:close, :inline]
else