HomePhabricator

Fix crasher from tokenizing headings

Authored by Arlolra on Jan 17 2018, 9:54 PM.

Description

Fix crasher from tokenizing headings

Introduced in c167933

Fixes the render of many pages in logstash, including,
http://localhost:8000/en.wikipedia.org/v3/page/html/User%3A2011arvind/816572769

Change-Id: I54e6078b09202461a5921712d13b800d8d526592

Details