mpetrovich / stylemark

Generate interactive style guides from Markdown.
MIT License
218 stars 35 forks source link

Generator adds empty line if height option is not used in example #60

Closed jussikinnula closed 5 years ago

jussikinnula commented 5 years ago

Parser creates <example ...> ... </example> from the code parts in markdown files. If there's height option, the example contains also it. On generator, the example tag is changed to an iframe.

The problem is, if height is not set - iframe has an extra line break, which breaks some browsers.

mpetrovich commented 5 years ago

Fixed in v3.1.3