version 1.274, 2021/08/10 12:55:03 |
version 1.276, 2022/06/24 11:15:53 |
Line 69 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 69 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"body", HTML_NLALL}, |
{"body", HTML_NLALL}, |
{"div", HTML_NLAROUND}, |
{"div", HTML_NLAROUND}, |
{"section", HTML_NLALL}, |
{"section", HTML_NLALL}, |
|
{"nav", HTML_NLALL}, |
{"table", HTML_NLALL | HTML_INDENT}, |
{"table", HTML_NLALL | HTML_INDENT}, |
{"tr", HTML_NLALL | HTML_INDENT}, |
{"tr", HTML_NLALL | HTML_INDENT}, |
{"td", HTML_NLAROUND}, |
{"td", HTML_NLAROUND}, |
Line 91 static const struct htmldata htmltags[TAG_MAX] = { |
|
Line 92 static const struct htmldata htmltags[TAG_MAX] = { |
|
{"span", HTML_INPHRASE | HTML_TOPHRASE}, |
{"span", HTML_INPHRASE | HTML_TOPHRASE}, |
{"var", HTML_INPHRASE | HTML_TOPHRASE}, |
{"var", HTML_INPHRASE | HTML_TOPHRASE}, |
{"br", HTML_INPHRASE | HTML_NOSTACK | HTML_NLALL}, |
{"br", HTML_INPHRASE | HTML_NOSTACK | HTML_NLALL}, |
|
{"hr", HTML_INPHRASE | HTML_NOSTACK}, |
{"mark", HTML_INPHRASE }, |
{"mark", HTML_INPHRASE }, |
{"math", HTML_INPHRASE | HTML_NLALL | HTML_INDENT}, |
{"math", HTML_INPHRASE | HTML_NLALL | HTML_INDENT}, |
{"mrow", 0}, |
{"mrow", 0}, |
Line 706 print_otag(struct html *h, enum htmltag tag, const cha |
|
Line 708 print_otag(struct html *h, enum htmltag tag, const cha |
|
break; |
break; |
case 'i': |
case 'i': |
attr = "id"; |
attr = "id"; |
|
break; |
|
case 'r': |
|
attr = "role"; |
break; |
break; |
case '?': |
case '?': |
attr = arg1; |
attr = arg1; |