hoedown/test/Tests/Table.text
Tzu-ping Chung 2297a4e20b Fix rendering in table with empty cells
`find_emph_char` returns 0 if the char specified is not found in the
current line, but this is also what happens when there's an empty
cell. This patch adds logic to work around this problem.

See uranusjr/macdown#321
2015-05-16 00:54:24 +08:00

21 lines
295 B
Text

# Standard table
|headline1|headline2|
|---------|---------|
|123 | |
# Cell alignment
|headline1|headline2|headline3|
|:-------|:------:|------:|
|123|||
# Malformed table: missing cell at row in body
|headline1|headline2|headline3|
|-------|-------|-------|
|12
|34||
|56|