--- a/tbl_term.c 2019-03-10 10:56:43.000000000 +0100 +++ b/tbl_term.c 2019-11-30 14:38:12.918969863 +0100 @@ -625,8 +626,7 @@ /* Print the horizontal line inside this column. */ lw = cpp == NULL || cpn == NULL || - (cpn->pos != TBL_CELL_DOWN && - (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) + cpn->pos != TBL_CELL_DOWN ? hw : 0; tbl_direct_border(tp, BHORIZ * lw, col->width + col->spacing / 2); @@ -669,8 +669,7 @@ /* The horizontal line inside the next column. */ rw = cpp == NULL || cpn == NULL || - (cpn->pos != TBL_CELL_DOWN && - (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) + cpn->pos != TBL_CELL_DOWN ? hw : 0; /* The line crossing at the end of this column. */