Title elements should be paragraph, not heading to be valid ODF

This commit is contained in:
Veronica Berglyd Olsen
2023-02-12 13:27:43 +01:00
parent cce1ef54d8
commit 5796d55531
+1 -1
View File
@@ -408,7 +408,7 @@ class ToOdt(Tokenizer):
elif tType == self.T_TITLE:
tHead = tText.replace(r"\\", "\n")
self._addTextPar("Title", oStyle, tHead, isHead=True)
self._addTextPar("Title", oStyle, tHead, isHead=False)
elif tType == self.T_UNNUM:
tHead = tText.replace(r"\\", "\n")