Page MenuHomePhabricator

Parsoid's TOC handling needs to deal with HTML-returning components (exts, SPTs, parser funcs returning HTML) consistently
Open, Needs TriagePublic

Description

From T355092#9483046, Parsoid needs to handle sections defined in HTML-returning components (ex: special page transclusions, parser functions returning html) just like it deals with extensions. T355092 only dealt with extensions.

This is an edge case, but needs to be handled.