Homec4science

Make `#` header detection more strict

Authored by epriestley <git@epriestley.com> on Aug 5 2014, 18:26.

Description

Make # header detection more strict

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: pieter, epriestley

Maniphest Tasks: T5102

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

Details

Committed
epriestley <git@epriestley.com>Aug 5 2014, 18:26
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU51472fd62263: Rename `PhutilRemarkupRule` subclasses
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU25c1599e34e0: Make `#` header detection more strict (authored by epriestley <git@epriestley.com>).Aug 5 2014, 18:26