Page MenuHomePhabricator

Fix an issue where the "%%%" parser could match too many lines in unterminated blocks
ClosedPublic

Authored by epriestley on May 3 2020, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 5, 5:37 AM
Unknown Object (File)
Feb 10 2024, 10:08 PM
Unknown Object (File)
Feb 4 2024, 12:10 AM
Unknown Object (File)
Jan 10 2024, 1:12 PM
Unknown Object (File)
Dec 28 2023, 10:42 PM
Unknown Object (File)
Dec 24 2023, 12:23 PM
Unknown Object (File)
Dec 20 2023, 1:02 AM
Unknown Object (File)
Dec 17 2023, 4:11 AM
Subscribers
None

Details

Summary

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).

Test Plan

Added a failing test, made it pass.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable