Skip to content

Commit

Permalink
Release 0.1.0 (#18)
Browse files Browse the repository at this point in the history
The major change here is that I updated RTFDE to only work with bytes and leave all encoding up to the downstream library. Please update your code as necessary!

    Updated to only work with bytes.
    Added far greater unicode support.
    Fixed various whitespace issues.
    Added proper htmlrtf support.
    Added support for extracting (but not parsing binary data).
    Update grammar to be far more explicit when extracting objects.
    Fixes to ensure deencapsulation handles whitespace properly.
    Adds grammar composer to make grammar modifications more clearly defined.
    Adding support for surrogates which use raw unicode instead of 16bit signed encoding.
    Added better handling of parsing unicode HH replacement chars.
  • Loading branch information
seamustuohy committed Jul 27, 2023
1 parent 94994d1 commit 66780b8
Show file tree
Hide file tree
Showing 54 changed files with 12,040 additions and 531 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
@@ -0,0 +1,5 @@
tests/test_data/html/multiple-encodings.rtf text eol=crlf
tests/test_data/rtf_parsing/surrogate_pairs.rtf text eol=crlf
tests/test_data/rtf_parsing/encapsulated_example.html text eol=crlf
tests/test_data/rtf_parsing/surrogates.rtf text eol=crlf
tests/test_data/rtf_parsing/small_template.rtf text eol=crlf
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -129,3 +129,8 @@ dmypy.json

# Pyre type checker
.pyre/


# Testing
tests/test_data/personal_rtf_test_files/*.rtf
tests/test_data/personal_rtf_test_output_files/*.html

0 comments on commit 66780b8

Please sign in to comment.