We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into this while parsing some RTFs in the wild, here's a minimal test case:
{\rtf1 \~}
$ RubyRTF::VERSION => "0.0.5" $ RubyRTF::Parser.new.parse('{\rtf1 \~}') NoMethodError: undefined method `[]' for nil:NilClass from [...]/gems/ruby-rtf-0.0.5/lib/ruby-rtf/parser.rb:107:in `parse_control'
Seems like \~ should be a valid directive according to https://www.biblioscape.com/rtf15_spec.htm?
\~
My workaround for now is just to replace instances of \~ with whitespace characters before passing them to RubyRTF::Parser.
RubyRTF::Parser
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ran into this while parsing some RTFs in the wild, here's a minimal test case:
Seems like
\~
should be a valid directive according to https://www.biblioscape.com/rtf15_spec.htm?My workaround for now is just to replace instances of
\~
with whitespace characters before passing them toRubyRTF::Parser
.The text was updated successfully, but these errors were encountered: