This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Commonmarker's default html renderer: https://github.com/gjtorikian/commonmarker/blob/master/lib/commonmarker/renderer/html_renderer.rb | |
# It has a sepparate method for each type of html tag it supports | |
# paragraph method: | |
def paragraph(node) | |
if @in_tight && node.parent.type != :blockquote | |
out(:children) | |
else | |
block do |