parse: Read text literal up to beginning of EndText
Using the end of the last word before EndText misses any trailing whitespace, and it's a lost cause trying to figure out the offset from after EndText given it might be whitespace or an end of life. Instead use an offset from the start of EndText. |
---|
|
src/parse.py |
---|