Ruby-RTF icon indicating copy to clipboard operation
Ruby-RTF copied to clipboard

A Ruby RTF Library

Results 6 Ruby-RTF issues
Sort by recently updated
recently updated
newest added

Try to parse attached file [test.zip](https://github.com/dj2/Ruby-RTF/files/5062742/test.zip) LibreOffice and all other known to me editors correctly opens it ![image](https://user-images.githubusercontent.com/668524/90017225-de984800-dcb3-11ea-8cbd-0d83b3ccbec8.png) But parsing it with ruby-rtf result are: ``` require_relative 'lib/ruby-rtf' rtf =...

RTF has the concept of [hidden text](https://stackoverflow.com/questions/14339026/rich-text-format-tags-for-hiding-and-un-hiding). While the library has a flag for text that has been struckthrough, it doesn't seem to have anything to indicate that certain text...

Hi, I was using this gem for parsing rtf file ruby version is 2.4.0 and rails is `'rails',` '~> 5.1.4'` when I execute `doc = RubyRTF::Parser.new.parse(File.open(path).read)` where "path" being equal...

Bumps [yard](https://github.com/lsegal/yard) from 0.9.24 to 0.9.36. Release notes Sourced from yard's releases. Release v0.9.36 Further XSS fixes for generated frameset pages (#1538) Improve tests for Ruby 3.3 compatibility (#1519, #1531)...

dependencies

Ran into this while parsing some RTFs in the wild, here's a minimal test case: ```rtf {\rtf1 \~} ``` ```ruby $ RubyRTF::VERSION => "0.0.5" $ RubyRTF::Parser.new.parse('{\rtf1 \~}') NoMethodError: undefined method...

Some text combinations lead to 0 matches on this line, which causes the parser to fail with an error. The parser works perfectly if we just skip these matches and...