Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rtf support #66

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Add rtf support #66

merged 2 commits into from
Apr 16, 2024

Conversation

julien-nc
Copy link
Member

None of the Php RTF parsers I tried work.
Thankfully henck/rtf-to-html works fine.
So this uses henck/rtf-to-html to convert to html and then html2text/html2text to convert to text.

@julien-nc julien-nc added the enhancement New feature or request label Apr 15, 2024
@julien-nc julien-nc requested a review from kyteinsky April 15, 2024 16:18
@julien-nc julien-nc force-pushed the enh/65/add-rtf-support branch from f49b0bf to 3a622ef Compare April 15, 2024 16:19
…t/html2text to get text

Signed-off-by: Julien Veyssier <[email protected]>
Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc julien-nc force-pushed the enh/65/add-rtf-support branch from 3a622ef to 4213612 Compare April 15, 2024 18:28
Copy link
Contributor

@kyteinsky kyteinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works perfectly! Thanks for the quick resolution.

@julien-nc julien-nc merged commit ca6290e into main Apr 16, 2024
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the enh/65/add-rtf-support branch April 16, 2024 08:14
@julien-nc julien-nc mentioned this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants