Page MenuHomePhabricator

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

Authored by epriestley on Feb 4 2020, 4:05 PM.
Tags
None
Referenced Files
F18818008: D20965.diff
Tue, Oct 21, 8:15 PM
F18741126: D20965.id.diff
Thu, Oct 2, 8:42 AM
F18734139: D20965.id.diff
Tue, Sep 30, 10:48 PM
F18626066: D20965.id49956.diff
Sep 16 2025, 12:16 AM
F18567613: D20965.id.diff
Sep 9 2025, 3:58 PM
F18415172: D20965.id49956.diff
Aug 30 2025, 9:26 AM
F18100849: D20965.diff
Aug 9 2025, 12:08 PM
F17955441: D20965.id.diff
Aug 1 2025, 4:48 AM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 4 2020, 4:09 PM
This revision was automatically updated to reflect the committed changes.