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
F15578250: D10972.id26348.diff
Tue, May 6, 5:59 PM
F15471660: D10972.diff
Apr 5 2025, 7:00 AM
F15433207: D10972.id26348.diff
Mar 24 2025, 10:04 PM
F15413655: D10972.id26354.diff
Mar 19 2025, 8:21 PM
F15411291: D10972.id.diff
Mar 19 2025, 8:58 AM
F15403221: D10972.id26354.diff
Mar 18 2025, 2:17 AM
F15401468: D10972.diff
Mar 17 2025, 5:50 PM
F15378284: D10972.id26354.diff
Mar 13 2025, 1:31 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.