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)
Feb 22 2024, 12:39 AM
Unknown Object (File)
Feb 21 2024, 4:55 AM
Unknown Object (File)
Feb 20 2024, 5:48 AM
Unknown Object (File)
Feb 14 2024, 8:12 PM
Unknown Object (File)
Feb 12 2024, 4:59 PM
Unknown Object (File)
Feb 5 2024, 8:46 AM
Unknown Object (File)
Feb 3 2024, 11:36 PM
Unknown Object (File)
Dec 19 2023, 5:31 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.