Pydocx

Latest version: v0.9.10

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 9

0.3.7

- Some inline tags
(most notably the underline tag)
could have a ``val`` of ``none``
and that would signify that the style is disabled.
A ``val`` of ``none`` is now correctly handled.

0.3.6

- It is possible for a docx file to not contain a ``numbering.xml`` file
but still try to use lists.
Now if this happens all lists get converted to paragraphs.

0.3.5

- Not all docx files contain a ``styles.xml`` file.
We are no longer assuming they do.

0.3.4

- It is possible for ``w:t`` tags to have ``text`` set to ``None``.
This no longer causes an error when escaping that text.

0.3.3

- In the event that ``cElementTree`` has a problem parsing the document,
a ``MalformedDocxException`` is raised
instead of a
``SyntaxError``

0.3.2

- We were not taking into account that vertical merges should have a continue attribute,
but sometimes they do not,
and in those cases word assumes the continue attribute.
We updated the parser to handle the cases in which the continue attribute is not there.
- We now correctly handle documents with unicode character in the namespace.
- In rare cases,
some text would be output with a style when it should not have been.
This issue has been fixed.

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.