aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/rd/inline_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/rd/inline_parser.rb')
-rw-r--r--lib/rdoc/rd/inline_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb
index f330def44a..c3c1f4b030 100644
--- a/lib/rdoc/rd/inline_parser.rb
+++ b/lib/rdoc/rd/inline_parser.rb
@@ -1104,7 +1104,7 @@ def _reduce_101(val, _values, result)
end
def _reduce_102(val, _values, result)
- result = "<tt>#{val[1]}</tt>"
+ result = inline "<tt>#{val[1]}</tt>", val[1]
result
end