HomePhabricator

Correctly extract sections from headings

Authored by bmansurov.

Description

Correctly extract sections from headings

Make sure the span element exists in a heading before creating a
section. Without this change, on pages where browse tags are present an
empty table of contents was being shown.

Bug: T97495
Change-Id: I85fd47f4753cb54161f64882e1dbe530194931ec

Details

Committed
bmansurovMay 8 2015, 5:48 PM
Parents
rEMFR65b254979f31: Fix Notice: Undefined index: title error
Branches
Unknown
Tags
Unknown
References
refs/changes/64/209764/1
ChangeId
I85fd47f4753cb54161f64882e1dbe530194931ec