Updates
- None
Fixes
- Fixes #70: malformed table overflow. | dfop02
- Fixes #73: Error parsing styles with spaces. | dfop02
- Fixes #71: Error applying color to table cells. | vvalchev
- Fixes #76: Invalid image width and height. | dfop02
New Features
- None
Updates
- Update README.md for tag_style_override and custom styles from a Word template usage. | dfop02
Fixes
- Fixes #62 : tag_style_override not applying custom styles from a Word template. | dfop02
- Handle invalid rowspan and colspan values in tables. | dfop02 inspired by PR #56 from kko-harvey .
- Fixes #67: built-in typing was not supported by old python versions. | dfop02
New Features
- [PR #61] Added support for break-after: page css properties to determine page breaks. | chrisonntag
- [PR #59] Added support for <del> tag. | arthrod
- [PR #60] Added support for <mark> and <ins> tags. | arthrod
- Add warning when a custom style is not found in the document. | dfop02
Updates
- None
Fixes
New Features
- None
Updates
- Update Pypi Workflow to Validate Tag, Check Lint, Run tests, Build distribution, Publish to PyPI and create release automatically. | dfop02
Fixes
- Fix text decoration color not being applied correctly. | dfop02
- Fix HISTORY.rst formatting. | dfop02
New Features
- [PR #44] Added support for custom css class to word style mappings. | raithedavion
- [PR #44] Added support for html tag to style overrides. | raithedavion
- [PR #44] Added support for setting default word style for new documents. | raithedavion
- [PR #44] Added support for "!important" style precedence. | raithedavion
- Change linter from flake8 to ruff. | dfop02
Updates
- Fix Pypi Workflow.
- [PR #48] Add support for common CSS properties on text for:
<h>,<p>and<span>| Lynuxen
Fixes
- Fixes #46: background-color style property highlights the whole paragraph instead of a single word
- Fixes #47: text-decoration style property for underline is not applied
New Features
- Add support for HTML Comments. | Dfop02
- Add support for text-align,line-height, margin-left, margin-right, text-indent for paragraphs
- Add support for the following text properties (applies to
<span>,<p>and<h>tags): - font-weight: ('bold', 'bolder', '700', '800', '900', 'normal', 'lighter', '400', '300', '100')
- font-style: ('italic', 'oblique', 'normal'')
- text-decoration: ('underline', 'line-through') ('solid', 'double', 'dotted', 'dashed', 'wavy'), and the longhand properties (text-decoration-*)
- text-transform: ('uppercase', 'lowercase', 'capitalize')
- font-size
- font-family
- color
- background-color: Paragraph and run highlight colors can now differ. Partial support on what can be used as a color.
- Add support for the following text properties (applies to
Updates
- Start Modularization of HtmlToDocx class.
- Add Typing hint for few relevant methods.
Fixes
- Fixed skip table was not working correctly.
- Fixed bug on styles parsing when style contains multiple colon.
- PR #40 Fixed styles was only being applied to span tag.
New Features
- Add built-in save for save docx
- Able to save in memory (BytesIO)
- Support to Python 3.14
Updates
Fixes
New Features
Updates
- Starting modularize project with metadata. | Dfop02
- Update tests, removing useless tests and separating by modules. | Dfop02
Fixes
- Merge missing
Release/1.0.8features. | Dfop02
New Features
- Add support for rowspan and colspan in tables. | Dfop02 from Issue #25
- Add support for 'vertical-align' in table cells. | Dfop02
- Add support for metadata | Dfop02
Updates
- Add tests for image without paragraph. | Dfop02
- Add tests for bookmark without paragraph. | Dfop02
- Add tests for local image. | Dfop02
- Add tests for unbalanced table. | Dfop02
Fixes
- Fix crash when there is bookmark without paragraph. | Dfop02 from Issue #21
- Fix crash when there is image without paragraph. | Dfop02 from Issue #19
New Features
None
Updates
- Add tests for inline images. | Dfop02
- Add tests for Bold, Italic, Underline and Strike. | Dfop02
- Add tests for Ordered and Unordered Lists. | TaylorN15 from PR #16
- Update Docs (Include Known Issues and Project Guidelines). | Dfop02
- Refactor
utils.pyfile. | Dfop02
Fixes
New Features
- Being able to use inline images on same paragraph. | Dfop02
- Limit 5s timeout to fetch any image from web. | Dfop02
Updates
- Fix Changelog bad formating.
- Update
README.mdwith latest changes. - Add funding to project.
- Add
CONTRIBUTING.mdto project. - Add pull request template to project.
- Update tests for table style to assert that is working fine.
- Save
tests.docxon Github Actions to make it easier to help debugging issues across multiple builds. | gionn
Fixes
- Fix
table_stylenot working. | Dfop02
Updates
- Refactory functions to be more readable and performatic, moving common functions to utils.
- Add tests for table cells new features.
Fixes
- Fix a bug when using colors by name, when some colors exists but was not available. E.g.: magenta | Dfop02
- Fix background-color not working, always returning black. | Dfop02
New Features
- Add support to table cells style (border, background-color, width, height, margin) | Dfop02
- Add support to "in", "rem", "em", "mm" and "pc" units | Dfop02
Updates
- Create Changelog HISTORY.
- Update README.
- Add Github Action Workflow to publish in pypi.
- Change default VERSION tag, removing the "v" from new releases.
New Features
- Support to internal links (Anchor) | Dfop02
- Adapt font_size when text, ex.: small, medium, etc. | Dfop02
- Fix error for image weight and height when no digits | Dfop02
- Support px, cm, pt and % for style margin-left to paragraphs | Dfop02
- Fix 'style lookup by style_id is deprecated.' | Dfop02
- Fix bug when any style has
!important| Dfop02 - Refactory Tests to be more consistent and less 'human validation' | Dfop02
- Support to color by name | Dfop02
- Fix README.
- Initial Release!
Fixes
- Handle missing run for leading br tag | dashingdove from PR #53
- Fix base64 images | djplaner from Issue #28
- Handle img tag without src attribute | johnjor from PR #63
New Features
- Add Witdh/Height style to images | maifeeulasad from PR #29
- Improve performance on large tables | dashingdove from PR #58
- Support for HTML Pagination | Evilran from PR #39
- Support Table style | Evilran from PR #39
- Support alternative encoding | HebaElwazzan from PR #59