diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2017-09-28 18:22:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2017-09-28 18:22:33 (GMT) |
commit | ed9acb6e1bb81a2eec334180f7b8c1bf0598b444 (patch) | |
tree | 12e014d06d0523547572df7c32fb9314855ca869 /src | |
parent | 103005f5251dd0ff50c9c255e5abc9f262abd050 (diff) | |
download | Doxygen-ed9acb6e1bb81a2eec334180f7b8c1bf0598b444.zip Doxygen-ed9acb6e1bb81a2eec334180f7b8c1bf0598b444.tar.gz Doxygen-ed9acb6e1bb81a2eec334180f7b8c1bf0598b444.tar.bz2 |
Use language identifier instead of file extension for language attribute
Diffstat (limited to 'src')
-rw-r--r-- | src/xmldocvisitor.cpp | 2 |
1 files changed, 1 insertions, 1 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 << "<programlisting language=\"" << lang << "\">"; + m_t << "<programlisting language=\"" << langToString(langExt) << "\">"; Doxygen::parserManager->getParser(lang) ->parseCode(m_ci,s->context(),s->text(),langExt, s->isExample(),s->exampleFile()); |