Skip to content

Commit

Permalink
Merge vmg#131 of the original project
Browse files Browse the repository at this point in the history
  • Loading branch information
dokutoku committed Mar 11, 2023
2 parents c914553 + 452a879 commit 7b3b494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html/html.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,15 +444,15 @@ rndr_tablecell(struct buf *ob, const struct buf *text, int flags, void *opaque)

switch (flags & MKD_TABLE_ALIGNMASK) {
case MKD_TABLE_ALIGN_CENTER:
BUFPUTSL(ob, " align=\"center\">");
BUFPUTSL(ob, " style=\"text-align: center\">");
break;

case MKD_TABLE_ALIGN_L:
BUFPUTSL(ob, " align=\"left\">");
BUFPUTSL(ob, " style=\"text-align: left\">");
break;

case MKD_TABLE_ALIGN_R:
BUFPUTSL(ob, " align=\"right\">");
BUFPUTSL(ob, " style=\"text-align: right\">");
break;

default:
Expand Down

0 comments on commit 7b3b494

Please sign in to comment.