Permalink
Browse files

Use language in stead of lang for language name attribute

  • Loading branch information...
shi-yan committed Aug 22, 2017
1 parent 141dbfd commit 4e4741221f4290412ef4a6b6bbfe9799abafaf6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/xmldocvisitor.cpp
@@ -211,7 +211,7 @@ void XmlDocVisitor::visit(DocVerbatim *s)
switch(s->type())
{
case DocVerbatim::Code: // fall though
m_t << "<programlisting lang=\"" << lang << "\">";
m_t << "<programlisting language=\"" << lang << "\">";
Doxygen::parserManager->getParser(lang)
->parseCode(m_ci,s->context(),s->text(),langExt,
s->isExample(),s->exampleFile());

0 comments on commit 4e47412

Please sign in to comment.