Now that #lsth has been rolled-out Wikimedia wide (see T74302), I was looking forward to further "prepping" it for the eventual support of the various new HTML5 section/outline related element tags by mediawiki one day using the available H1 thru H6 html tags currently supported.
To my surprise, when the targeted section on the target page is built using html heading element tags (H1 thru H6) rather than with the "traditional" wrapping of the section label by wiki-markup equal signs ( == Foo == ), #lsth is unable to process it.
When such a heading falls into a range of [sub-]sections to a higher level targeted section, it's processed just like any other section just fine.
- Testbed of mock-up sections --> https://en.wikisource.org/wiki/Help:Transclusion/Testbed
- Sandbox of examples depicting the issue --> https://en.wikisource.org/wiki/Help:Transclusion/Sandbox
.