summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-12-26 15:24:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-12-26 17:24:43 (GMT)
commitd5905871951cde51c6dcaa01d745de2f884ce9a9 (patch)
tree5c697a976a125ddb1029b0e0fca2b8ae0260d60e /src/docparser.h
parentde03970396e6f7edec359e2b71f3d2aa9d6a6237 (diff)
downloadDoxygen-d5905871951cde51c6dcaa01d745de2f884ce9a9.zip
Doxygen-d5905871951cde51c6dcaa01d745de2f884ce9a9.tar.gz
Doxygen-d5905871951cde51c6dcaa01d745de2f884ce9a9.tar.bz2
Bug 746162 - formulas creating invalid HTML code
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/docparser.h b/src/docparser.h
index 5af5e96..e2751d8 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -309,10 +309,18 @@ class DocCite : public DocNode
class DocStyleChange : public DocNode
{
public:
- enum Style { Bold, Italic, Code, Center, Small,
- Subscript, Superscript, Preformatted,
- Span, Div
+ enum Style { Bold = (1<<0),
+ Italic = (1<<1),
+ Code = (1<<2),
+ Center = (1<<3),
+ Small = (1<<4),
+ Subscript = (1<<5),
+ Superscript = (1<<6),
+ Preformatted = (1<<7),
+ Span = (1<<8),
+ Div = (1<<9)
};
+
DocStyleChange(DocNode *parent,uint position,Style s,bool enable,
const HtmlAttribList *attribs=0) :
m_position(position), m_style(s), m_enable(enable)