Page MenuHomePhabricator

Fix an issue where intracontent empty lines were incorrectly trimmed in quoted blocks
ClosedPublic

Authored by epriestley on Tue, Feb 4, 4:05 PM.

Details

Summary

Fixes T13335. When processing quoted blocks, we remove leading empty lines. This logic incorrectly continued after encountering a nonempty line.

Test Plan

Added a test, made it pass. Previewed blocks in web UI.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Tue, Feb 4, 4:05 PM
epriestley requested review of this revision.Tue, Feb 4, 4:07 PM
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Feb 4, 4:09 PM
This revision was automatically updated to reflect the committed changes.