diff options
Diffstat (limited to 'src/printdocvisitor.h')
-rw-r--r-- | src/printdocvisitor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/printdocvisitor.h b/src/printdocvisitor.h index 684dd74..dfdaf6f 100644 --- a/src/printdocvisitor.h +++ b/src/printdocvisitor.h @@ -124,6 +124,12 @@ class PrintDocVisitor : public DocVisitor case DocStyleChange::Preformatted: if (s->enable()) printf("<pre>"); else printf("</pre>"); break; + case DocStyleChange::Div: + if (s->enable()) printf("<div>"); else printf("</div>"); + break; + case DocStyleChange::Span: + if (s->enable()) printf("<span>"); else printf("</span>"); + break; } } void visit(DocVerbatim *s) |