Trailing blanks in table rows *** Parameters: *** {} # params *** Markdown input: *** Col1 | Very very long head | Very very long head| ------- |:-------------------:|-------------------:| cell | center-align | right-align | another | cell | here | | First Header | Second Header | | ------------- | ------------- | | Content Cell | Content Cell | | Content Cell | Content Cell | | First Header | Second Header | | ------------- | ------------- | | Content Cell | Content Cell | | Content Cell | Content Cell | First Header | Second Header| ------------- | -------------| Content Cell | Content Cell| Content Cell | Content Cell| First Header | Second Header ------------- | ------------- Content Cell | Content Cell Content Cell | Content Cell | Content Cell *** Output of inspect *** md_el(:document, [ md_el(:table, [ [md_el(:head_cell, "Col1"), md_el(:head_cell, "Very very long head"), md_el(:head_cell, "Very very long head")], [md_el(:cell, "cell"), md_el(:cell, "center-align"), md_el(:cell, "right-align")], [md_el(:cell, "another"), md_el(:cell, "cell"), md_el(:cell, "here")] ], {:align=>[:left, :center, :right]}), md_el(:table, [ [md_el(:head_cell, "First Header"), md_el(:head_cell, "Second Header")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")] ], {:align=>[:left, :left]}), md_el(:table, [ [md_el(:head_cell, "First Header"), md_el(:head_cell, "Second Header")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")] ], {:align=>[:left, :left]}), md_el(:table, [ [md_el(:head_cell, "First Header"), md_el(:head_cell, "Second Header")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")] ], {:align=>[:left, :left]}), md_el(:table, [ [md_el(:head_cell, "First Header"), md_el(:head_cell, "Second Header")], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")], [md_el(:cell, "Content Cell"), md_el(:cell, [])], [md_el(:cell, "Content Cell"), md_el(:cell, "Content Cell")] ], {:align=>[:left, :left]}) ]) *** Output of to_html ***

Col1 | Very very long head | Very very long head
--- | --- | ---
cell | center-align | right-align
another | cell | here

First Header | Second Header
--- | ---
Content Cell | Content Cell
Content Cell | Content Cell

First Header | Second Header
--- | ---
Content Cell | Content Cell
Content Cell | Content Cell

First Header | Second Header
--- | ---
Content Cell | Content Cell
Content Cell | Content Cell

First Header | Second Header
--- | ---
Content Cell | Content Cell
Content Cell |
Content Cell | Content Cell