Ruby-RTF
Ruby-RTF copied to clipboard
Fix empty parse control value
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 do not try to assign anything.
Is it possible to add a spec test for this case so we can make sure it doesn't creap back into the code?
Is it possible to add a spec test for this case so we can make sure it doesn't creap back into the code?
Sure, I'll to that! Give me couple days
Is it possible to add a spec test for this case so we can make sure it doesn't creap back into the code?
Added, please take a look