diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -69,6 +69,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"body", HTML_NLALL}, {"div", HTML_NLAROUND}, {"section", HTML_NLALL}, + {"nav", HTML_NLALL}, {"table", HTML_NLALL | HTML_INDENT}, {"tr", HTML_NLALL | HTML_INDENT}, {"td", HTML_NLAROUND}, @@ -708,6 +709,9 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...) case 'i': attr = "id"; break; + case 'r': + attr = "role"; + break; case '?': attr = arg1; arg1 = va_arg(ap, char *); |