Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for RTF file input to the DOCX Splitter, updating both the front-end and back-end handling to accept and process RTF files.
- Updated documentation and error messages in the user manual
- Modified package.json and index.html to include the rtf-parser dependency and accept RTF files
- Added processRtf logic in app.js to parse RTF content and integrated RTF handling along with existing DOCX processing
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| user_manual.md | Added error codes documentation |
| package.json | Added dependency for RTF file processing |
| index.html | Updated file input accept attribute |
| app.js | Implemented RTF processing and extended file format support |
| README.md | Updated version and description |
| CHANGELOG.md | Documented new RTF support in changelog |
Comments suppressed due to low confidence (1)
index.html:12
- Consider updating the header text to reflect the support for both DOCX and RTF files (e.g. 'Input file and split every header into a new file') to avoid possible confusion.
<h3>Input docx and split every header into a new rtf file</h3>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for RTF file format input.
It detects and handles stuff properly, but does not fully clean the headings - it cannot detect and remove the
{\*\bkmkstartand{\*\bkmkendsequence.