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).
Details
Details
- Reviewers
- None
- Maniphest Tasks
- T13530: Unterminated remarkup literal blocks ("%%%") can trigger a parser error
- Commits
- 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.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- literal1
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 24321 Build 33505: Run Core Tests Build 33504: arc lint + arc unit