From 9fbcf3aca2a19a98619def5baefd89f51ec207f0 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 28 Sep 2014 11:33:15 +0000 Subject: Add support for some MathML elements and attributes in our HTML5. --- html.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'html.h') diff --git a/html.h b/html.h index 6b52f077..03bcb8e1 100644 --- a/html.h +++ b/html.h @@ -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 * @@ -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 }; -- cgit v1.2.3-56-ge451