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
Unknown Object (File)
Tue, Nov 12, 1:24 PM
Unknown Object (File)
Sat, Nov 9, 4:01 PM
Unknown Object (File)
Mon, Nov 4, 7:44 AM
Unknown Object (File)
Fri, Oct 25, 6:35 AM
Unknown Object (File)
Oct 21 2024, 5:53 PM
Unknown Object (File)
Oct 13 2024, 3:59 PM
Unknown Object (File)
Oct 9 2024, 5:50 PM
Unknown Object (File)
Oct 1 2024, 12:07 PM
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.