From 93245ad926ce01720eb35b9cf000992a44ac85c0 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 2 Feb 2020 14:57:07 +0100 Subject: Minor fixes for table cell attributes in XML and docbook output --- src/docbookvisitor.cpp | 2 ++ src/xmldocvisitor.cpp | 4 ---- templates/xml/compound.xsd | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp index 4b4de4a..16afd7b 100644 --- a/src/docbookvisitor.cpp +++ b/src/docbookvisitor.cpp @@ -79,6 +79,8 @@ static bool supportedHtmlAttribute(const QCString &name) name=="class" || name=="frame" || name=="label" || + name=="style" || + name=="width" || name=="tabstyle" || name=="title"); } diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index 31eeb16..21fa77e 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -843,10 +843,6 @@ void XmlDocVisitor::visitPre(DocHtmlCell *c) m_t << " class=\"" << convertToXML(opt->value) << "\""; } } - else if (!opt->name.isEmpty() && !opt->value.isEmpty()) // dump generic html attribute - { - m_t << " htmlattrib=\"" << convertToXML(opt->name) << "=" << convertToXML(opt->value) << "\""; - } } m_t << ">"; } diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd index 277a584..c7d872a 100644 --- a/templates/xml/compound.xsd +++ b/templates/xml/compound.xsd @@ -574,7 +574,6 @@ - -- cgit v0.12