Removed unnecessary line breaks from beginning and end of blockquotes

This commit is contained in:
Brandon Mathis 2012-05-24 10:24:37 -05:00
parent 4de8189651
commit af40b0aa13

View File

@ -75,7 +75,7 @@ module Jekyll
end
def paragraphize(input)
"<p>#{input.gsub(/\n\n/, '</p><p>').gsub(/\n/, '<br/>')}</p>"
"<p>#{input.lstrip.rstrip.gsub(/\n\n/, '</p><p>').gsub(/\n/, '<br/>')}</p>"
end
end
end