version 1.275, 2021/09/09 14:47:24 |
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 707 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; |