HomePhabricator

Remarkup: Allow Odd Line Breaks Before Blocks
ce821305c326Unpublished

Unpublished Commit · Learn More

No further details are available.

Description

Remarkup: Allow Odd Line Breaks Before Blocks

Summary: If there are two or more consecutive line breaks (i.e. at least one empty line), the first non-empty line should be considered the first line of the block. Currently, that is not the case if there are an odd number of line breaks because the last empty line will be considered the first line of the block. This breaks things like HTML tables (which assumes the block starts with <table>), code blocks (which special cases the first line if it is lang=something), etc.

Test Plan: Ran unit tests successfully.

Reviewers: epriestley, vrana

Reviewed By: epriestley

CC: leebyron, aran, Korvin, keito

Differential Revision: https://secure.phabricator.com/D5814

Details

Provenance
yungstersAuthored on
Reviewer
epriestley
Differential Revision
Restricted Differential Revision
Parents
rPHU16127104b280: Implement very basic PayPal API wrapper
Branches
Unknown
Tags
Unknown

Event Timeline