Skip to content

Commit 1557d21

Browse files
committed
Remove RDoc::RubyLex::Error for rescue
1 parent fe53dc1 commit 1557d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/markup/to_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def accept_verbatim verbatim
206206
result = RDoc::TokenStream.to_html tokens
207207
result = result + "\n" unless "\n" == result[-1]
208208
result
209-
rescue RDoc::RubyLex::Error
209+
rescue
210210
CGI.escapeHTML text
211211
end
212212
else

0 commit comments

Comments
 (0)