Fixes T13530. The block parser could match too many lines in an unterminated "%%%" literal block. Adjust the logic to stop doing this (and hopefully be a little easier to read).
- Maniphest Tasks
- T13530: Unterminated remarkup literal blocks ("%%%") can trigger a parser error
- rP462a4784325c: (stable) Fix an issue where the "%%%" parser could match too many lines in…
rP6f09edeb91e8: Fix an issue where the "%%%" parser could match too many lines in unterminated…
Added a failing test, made it pass.