Page MenuHomePhabricator

Make `#` header detection more strict
ClosedPublic

Authored by epriestley on Aug 5 2014, 4:01 PM.
Tags
None
Referenced Files
F19935772: D10151.diff
Sun, Apr 12, 2:47 AM
F19902593: D10151.id24418.diff
Mon, Mar 30, 8:16 PM
F19894475: D10151.diff
Sat, Mar 28, 3:00 PM
F19776187: D10151.id.diff
Feb 22 2026, 1:36 PM
F19636232: D10151.id24418.diff
Feb 5 2026, 12:37 PM
F19059289: D10151.id.diff
Nov 29 2025, 5:08 AM
F19052083: D10151.diff
Nov 28 2025, 2:51 AM
F18833737: D10151.id.diff
Oct 26 2025, 5:24 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).