Skip to content

Commit a188f34

Browse files
authored
Update to_rdoc.rb
1 parent 171120d commit a188f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/markup/to_rdoc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def end_accepting
294294

295295
def handle_regexp_SUPPRESSED_CROSSREF(target)
296296
text = target.text
297-
text = text.sub('\\', '') unless in_tt?
297+
text = text.gsub('\\', '') unless in_tt?
298298
text
299299
end
300300

0 commit comments

Comments
 (0)