Page MenuHomePhabricator

Make `#` header detection more strict
ClosedPublic

Authored by epriestley on Aug 5 2014, 4:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 19, 8:20 AM
Unknown Object (File)
Fri, May 9, 11:32 PM
Unknown Object (File)
Wed, May 7, 7:11 PM
Unknown Object (File)
Wed, May 7, 2:37 PM
Unknown Object (File)
Wed, Apr 30, 5:26 AM
Unknown Object (File)
Apr 10 2025, 7:03 AM
Unknown Object (File)
Mar 30 2025, 8:20 PM
Unknown Object (File)
Mar 30 2025, 6:09 AM
Subscribers

Details

Summary

Ref T5102. Require a space after a single # at the beginning of a line to possibly trigger header behavior.

This prevents conflicts with #projects and some normal text beginning with #.

Test Plan

Added unit test.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Make `#` header detection more strict.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Aug 5 2014, 4:18 PM
epriestley updated this revision to Diff 24420.

Closed by commit rPHU25c1599e34e0 (authored by @epriestley).