From ed9acb6e1bb81a2eec334180f7b8c1bf0598b444 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Thu, 28 Sep 2017 20:22:33 +0200 Subject: Use language identifier instead of file extension for language attribute --- src/xmldocvisitor.cpp | 2 +- templates/xml/compound.xsd | 2 +- testing/014/indexpage.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index f82f585..5789283 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -211,7 +211,7 @@ void XmlDocVisitor::visit(DocVerbatim *s) switch(s->type()) { case DocVerbatim::Code: // fall though - m_t << ""; + m_t << ""; Doxygen::parserManager->getParser(lang) ->parseCode(m_ci,s->context(),s->text(),langExt, s->isExample(),s->exampleFile()); diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd index 50426c0..43cc897 100644 --- a/templates/xml/compound.xsd +++ b/templates/xml/compound.xsd @@ -264,7 +264,7 @@ - + diff --git a/testing/014/indexpage.xml b/testing/014/indexpage.xml index 82676a3..ad35261 100644 --- a/testing/014/indexpage.xml +++ b/testing/014/indexpage.xml @@ -5,7 +5,7 @@ My Project - + #commentinPython @@ -25,7 +25,7 @@ - + //commentinacodeblock -- cgit v0.12