w2l log viewer improvements
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@221 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
cdca675509
commit
ceddd94461
7 changed files with 106 additions and 13 deletions
|
@ -187,9 +187,10 @@ public class MathConverter extends ConverterHelper {
|
|||
if (onode.hasAttribute("xmlns:math")) {
|
||||
math.setAttribute("xmlns", onode.getAttribute("xmlns:math"));
|
||||
}
|
||||
else if (onode.hasAttribute("xmlns")) {
|
||||
else if (onode.hasAttribute("xmlns") && converter.nType!=XhtmlDocument.HTML5) {
|
||||
// Don't include xmlns attribute in HTML5
|
||||
math.setAttribute("xmlns", onode.getAttribute("xmlns"));
|
||||
}
|
||||
}
|
||||
if (bAllowDisplay && onode.hasAttribute("display")) {
|
||||
// Starting with version 4.2, LO exports display="block" for display equations
|
||||
// This is a good thing, but in XHTML we can unfortunately only allow this for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue