Bug #19290
closedDocumentation: "produces:" (introducing terminal output) is wrongly formatted in few places
Description
warning.rb
¶
Problem: The text "produces:" is embedded in formatted text, it should be normal emphasized text.
view here: https://ruby-doc.org/3.2.0/Kernel.html , 2 times after: "If warnings have been disabled"
source:
https://github.com/ruby/ruby/blob/master/warning.rb#L18
https://github.com/ruby/ruby/blob/master/warning.rb#L38
Fix: in both cases, remove one space character just before <em>produces:</em>
# <em>produces:</em>
shall be:
# <em>produces:</em>
signal.c
¶
Problem: the text "produces:" is not emphasized like others.
view here: https://ruby-doc.org/3.2.0/Kernel.html after: "special signal name"
view here: https://ruby-doc.org/3.2.0/Signal.html
source:
https://github.com/ruby/ruby/blob/master/signal.c#L1386
https://github.com/ruby/ruby/blob/master/signal.c#L1538
Fix: surround with <em>
and </em>
, and add a line after the line: (2 places)
* produces:
shall be:
* <em>produces:</em>
*