From da6ddfe08b259e0be0f2ca41026699b72f744eb6 Mon Sep 17 00:00:00 2001
From: Ivan Tham <pickfire@riseup.net>
Date: Thu, 17 May 2018 01:21:01 +0800
Subject: [PATCH] Use tabs for table separator

\t is the default seperator

---
 src/main.c | 12 +++---------

diff --git a/src/main.c b/src/main.c
index 524a8585c504b009fc73115b607fff016d22e329..433cc8c13781682ff5315d4ae797958295df27b9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -425,20 +425,14 @@ 	}
 
 	roff_macro(p, "TS", NULL);
 
-	const char *_style = NULL;
 	switch (style) {
 	case '[':
-		_style = "allbox ";
-		break;
-	case '|':
-		_style = "";
+		fprintf(p->output, "allbox;");
 		break;
 	case ']':
-		_style = "box ";
+		fprintf(p->output, "box;");
 		break;
 	}
-
-	fprintf(p->output, "%s tab(:);\n", _style);
 
 	// Print alignments first
 	currow = table;
@@ -462,7 +456,7 @@ 		while (curcell) {
 			parser_pushstr(p, curcell->contents->str);
 			parse_text(p);
 			if (curcell->next) {
-				fprintf(p->output, "\nT}:T{\n");
+				fprintf(p->output, "\nT}\tT{\n");
 			} else {
 				fprintf(p->output, "\nT}");
 			}

-- 
2.48.1