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)
Wed, Jan 1, 11:14 PM
Unknown Object (File)
Sat, Dec 28, 4:33 PM
Unknown Object (File)
Wed, Dec 25, 9:47 PM
Unknown Object (File)
Mon, Dec 16, 4:27 AM
Unknown Object (File)
Dec 7 2024, 6:16 AM
Unknown Object (File)
Dec 1 2024, 5:58 AM
Unknown Object (File)
Nov 27 2024, 9:03 PM
Unknown Object (File)
Nov 24 2024, 12:55 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.