Fix for #28 (table is removed when at the end)
This commit is contained in:
parent
79fceb6f69
commit
e7f6f728e0
@ -331,7 +331,11 @@ public class SpannableMarkdownVisitor extends AbstractVisitor {
|
|||||||
visitChildren(node);
|
visitChildren(node);
|
||||||
|
|
||||||
if (pendingTableRow != null) {
|
if (pendingTableRow != null) {
|
||||||
builder.append(' ');
|
|
||||||
|
// @since 1.0.4 Replace table char with non-breakable space
|
||||||
|
// we need this because if table is at the end of the text, then it will be
|
||||||
|
// trimmed from the final result
|
||||||
|
builder.append('\u00a0');
|
||||||
|
|
||||||
final TableRowSpan span = new TableRowSpan(
|
final TableRowSpan span = new TableRowSpan(
|
||||||
configuration.theme(),
|
configuration.theme(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user