diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-28 11:33:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-09-28 11:33:15 +0000 |
commit | 9fbcf3aca2a19a98619def5baefd89f51ec207f0 (patch) | |
tree | 91a15b371b02ea1dc869b3b7884c0948e12cb2ba /html.h | |
parent | 4e1ef3c4eae3f48627d137b40ed09598b21792de (diff) | |
download | mandoc-9fbcf3aca2a19a98619def5baefd89f51ec207f0.tar.gz mandoc-9fbcf3aca2a19a98619def5baefd89f51ec207f0.tar.zst mandoc-9fbcf3aca2a19a98619def5baefd89f51ec207f0.zip |
Add support for some MathML elements and attributes in our HTML5.
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.62 2014/09/27 11:17:19 kristaps Exp $ */ +/* $Id: html.h,v 1.63 2014/09/28 11:33:15 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -50,6 +50,19 @@ enum htmltag { TAG_CODE, TAG_SMALL, TAG_STYLE, + TAG_MATH, + TAG_MROW, + TAG_MI, + TAG_MO, + TAG_MSUP, + TAG_MSUB, + TAG_MSUBSUP, + TAG_MFRAC, + TAG_MSQRT, + TAG_MFENCED, + TAG_MTABLE, + TAG_MTR, + TAG_MTD, TAG_MAX }; @@ -64,6 +77,8 @@ enum htmlattr { ATTR_ID, ATTR_COLSPAN, ATTR_CHARSET, + ATTR_OPEN, + ATTR_CLOSE, ATTR_MAX }; |