rails / sdoc

Standalone sdoc generator
http://api.rubyonrails.org/
Other
823 stars 131 forks source link

Fix multi-line `:call-seq:` method signatures #351

Closed jonathanhefner closed 6 months ago

jonathanhefner commented 6 months ago

Follow-up to 65c34da1fbd210158520e00636c1d161581722e4.

This fixes the method_signature helper to handle multi-line :call-seq: method signatures by wrapping the entire signature in <code> (which is styled with white-space: pre-wrap).