Page MenuHomePhabricator

Use more liberal whitespae detection for `%%%` and `---` remarkup rules
ClosedPublic

Authored by epriestley on Dec 11 2014, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 7, 9:39 AM
Unknown Object (File)
Thu, Jan 30, 12:08 PM
Unknown Object (File)
Wed, Jan 29, 7:59 AM
Unknown Object (File)
Tue, Jan 28, 6:05 AM
Unknown Object (File)
Tue, Jan 28, 6:05 AM
Unknown Object (File)
Tue, Jan 28, 6:05 AM
Unknown Object (File)
Tue, Jan 28, 5:58 AM
Unknown Object (File)
Sat, Jan 25, 5:08 PM
Subscribers

Details

Summary

This relaxes detection of whitespace for literal blocks and horizontal lines. In particular, when these rules are quoted, they appear as, e.g., > ---, which currently does not show a quoted horizontal line.

Test Plan

Added and ran unit tests. Quoted literal and HR rules.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Use more liberal whitespae detection for `%%%` and `---` remarkup rules.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, chad.
btrahan edited edge metadata.

Yay unit tests! Much better than my brain for proving regex correctness. :D

This revision is now accepted and ready to land.Dec 11 2014, 6:30 PM
This revision was automatically updated to reflect the committed changes.