version 1.233, 2018/06/18 01:49:15 |
version 1.235, 2018/06/25 13:45:57 |
|
|
/* $OpenBSD$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> |
Line 69 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 69 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"br", HTML_NOSTACK | HTML_AUTOCLOSE | HTML_NLALL}, |
{"br", HTML_NOSTACK | HTML_AUTOCLOSE | HTML_NLALL}, |
{"a", 0}, |
{"a", 0}, |
{"table", HTML_NLALL | HTML_INDENT}, |
{"table", HTML_NLALL | HTML_INDENT}, |
{"colgroup", HTML_NLALL | HTML_INDENT}, |
|
{"col", HTML_NOSTACK | HTML_AUTOCLOSE | HTML_NLALL}, |
|
{"tr", HTML_NLALL | HTML_INDENT}, |
{"tr", HTML_NLALL | HTML_INDENT}, |
{"td", HTML_NLAROUND}, |
{"td", HTML_NLAROUND}, |
{"li", HTML_NLAROUND | HTML_INDENT}, |
{"li", HTML_NLAROUND | HTML_INDENT}, |
Line 713 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 711 print_otag(struct html *h, enum htmltag tag, const cha |
|
switch (*fmt++) { |
switch (*fmt++) { |
case 'h': |
case 'h': |
attr = "height"; |
attr = "height"; |
break; |
|
case 'i': |
|
attr = "text-indent"; |
|
break; |
break; |
case 'l': |
case 'l': |
attr = "margin-left"; |
attr = "margin-left"; |