diff options
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 0d31529..43cabdb 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -32,8 +32,6 @@ static QString htmlAttribsToString(const HtmlAttribList &attribs) HtmlAttrib *att; for (li.toFirst();(att=li.current());++li) { - printf("Found attion name=`%s' value=`%s'\n", - att->name.data(),att->value.data()); result+=" "; result+=att->name; if (!att->value.isEmpty()) result+="=\""+att->value+"\""; @@ -165,7 +163,7 @@ void HtmlDocVisitor::visit(DocVerbatim *s) { case DocVerbatim::Code: // fall though m_t << "<div class=\"fragment\"><pre>"; - parseCode(m_ci,s->context(),s->text().latin1(),FALSE,0); + parseCode(m_ci,s->context(),s->text().latin1(),s->isExample(),s->exampleFile()); m_t << "</pre></div>"; break; case DocVerbatim::Verbatim: @@ -195,7 +193,7 @@ void HtmlDocVisitor::visit(DocInclude *inc) { case DocInclude::Include: m_t << "<div class=\"fragment\"><pre>"; - parseCode(m_ci,inc->context(),inc->text().latin1(),FALSE,0); + parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile()); m_t << "</pre></div>"; break; case DocInclude::DontInclude: @@ -222,7 +220,7 @@ void HtmlDocVisitor::visit(DocIncOperator *op) } if (op->type()!=DocIncOperator::Skip) { - parseCode(m_ci,op->context(),op->text().latin1(),FALSE,0); + parseCode(m_ci,op->context(),op->text().latin1(),op->isExample(),op->exampleFile()); } if (op->isLast()) { @@ -786,6 +784,14 @@ void HtmlDocVisitor::visitPost(DocCopy *) { } +void HtmlDocVisitor::visitPre(DocText *) +{ +} + +void HtmlDocVisitor::visitPost(DocText *) +{ +} + void HtmlDocVisitor::filter(const char *str) { if (str==0) return; |