Skip to content

Commit e3f13bb

Browse files
committed
Place expression next line of else
It is not a bug, but very confusing when multiple lines block follows.
1 parent 355c4e4 commit e3f13bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rdoc/markup/parser.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ def tokenize input
505505
when @s.scan(/(.*?)::( +|\r?$)/) then
506506
[:NOTE, @s[1], *token_pos(pos)]
507507
# anything else: :TEXT
508-
else @s.scan(/(.*?)( )?\r?$/)
508+
else
509+
@s.scan(/(.*?)( )?\r?$/)
509510
token = [:TEXT, @s[1], *token_pos(pos)]
510511

511512
if @s[2] then

0 commit comments

Comments
 (0)