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
F21842373: D20965.id49957.diff
Wed, Aug 12, 7:01 PM
Unknown Object (File)
Jun 25 2026, 11:11 AM
Unknown Object (File)
Jun 25 2026, 8:16 AM
Unknown Object (File)
Jun 23 2026, 4:55 AM
Unknown Object (File)
Jun 23 2026, 3:43 AM
Unknown Object (File)
Jun 23 2026, 3:42 AM
Unknown Object (File)
Jun 21 2026, 6:21 AM
Unknown Object (File)
Jun 21 2026, 6:16 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
Branch
qpara1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23781
Build 32703: Run Core Tests
Build 32702: arc lint + arc unit

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.