Method: Jazzy::Markdown::JazzyDeclarationHTML#render_param_returns
- Defined in:
- lib/jazzy/jazzy_markdown.rb
#render_param_returns(matches) ⇒ Object
248 249 250 251 252 253 |
# File 'lib/jazzy/jazzy_markdown.rb', line 248 def render_param_returns(matches) body = matches[:intro].strip + matches[:outro].strip body = "<p>#{body}</p>" unless body.start_with?('<p>') # call smartypants for pretty quotes etc. postprocess(body) end |