From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11808 invoked from network); 16 May 2021 23:19:07 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 16 May 2021 23:19:07 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 4e76d1a0 for ; Sun, 16 May 2021 18:19:05 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 94af33af for ; Sun, 16 May 2021 18:19:05 -0500 (EST) Date: Sun, 16 May 2021 18:19:05 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Implement the layout specification "a" (left justify with 1em X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- Implement the layout specification "a" (left justify with 1em indentation) in HTML output mode; before this patch, the indentation was missing. Terminal output already supported the "a" specifier since 2010. Issue reported and patch tested by Oliver dot Corff at email dot de. Modified Files: -------------- mandoc: tbl_html.c Revision Data ------------- Index: tbl_html.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/tbl_html.c,v retrieving revision 1.34 retrieving revision 1.35 diff -Ltbl_html.c -Ltbl_html.c -u -p -r1.34 -r1.35 --- tbl_html.c +++ tbl_html.c @@ -247,6 +247,8 @@ print_tbl(struct html *h, const struct t html_setfont(h, ESCAPE_FONTBOLD); else if (dp->layout->flags & TBL_CELL_ITALIC) html_setfont(h, ESCAPE_FONTITALIC); + if (dp->layout->pos == TBL_CELL_LONG) + print_text(h, "\\[u2003]"); /* em space */ print_text(h, dp->string); html_setfont(h, save_font); } -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv