Page MenuHomePhabricator

Unterminated remarkup literal blocks ("%%%") can trigger a parser error
Closed, ResolvedPublic

Description

See https://discourse.phabricator-community.org/t/remarkup-engine-undefined-index-exception/3832.

The minimal reproduction case for this is just an empty, unterminated literal block:

%%%

The error occurs when an unterminated %%% block incorrectly matches more lines than exist in the corpus.

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

epriestley created this task.
epriestley added a revision: Restricted Differential Revision.May 3 2020, 4:18 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.May 3 2020, 4:25 PM
epriestley added a commit: Restricted Diffusion Commit.
epriestley added a commit: Restricted Diffusion Commit.