Skip to content

Preserve DOCX underline formatting - #1600

Closed
Stable Genius (stablegenius49) wants to merge 1 commit into
microsoft:mainfrom
stablegenius49:pr-factory/issue-35-preserve-underline
Closed

Stable Genius (stablegenius49) wants to merge 1 commit into
microsoft:mainfrom
stablegenius49:pr-factory/issue-35-preserve-underline

Conversation

@stablegenius49

Copy link
Copy Markdown

Summary

  • preserve DOCX underline formatting by passing Mammoth a default u => u style map
  • keep custom DOCX style maps working by appending them after the default underline rule
  • add regression tests covering the default underline rule and custom style-map composition

Testing

  • pytest -q packages/markitdown/tests/test_module_misc.py -k 'docx_converter_preserves_underline_by_default or docx_converter_appends_custom_style_map or docx_comments'

Closes #35.

@stablegenius49

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@afourney

Copy link
Copy Markdown
Member

Thanks for working on underline preservation. The same behavior is covered by #2017. Please re-open, or comment if issues remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Underline not preserved

2 participants