Page MenuHomePhabricator

HTML comment beside title breaks transclusion (LST cannot ignore)
Open, Needs TriagePublic

Description

Putting an HTML comment beside any title (such as a notation not to change the title because it's transcluded by) breaks the functionality of lsth and nothing is transcluded.

MediaWiki: 1.37.2 (283a769)
PHP: 7.4.28 (fpm-fcgi)
MariaDB: 10.5.15-MariaDB-1:10.5.15+maria~bullseye-log
LST version: (for some reason the number is missing it just says: "– (b08dca2) 13:37, 24 November 2021")

Steps to reproduce:

On a page named "Mypage", place the following:

==Test== <!-- please do not change this title used by lst -->
Some content to transclude.

Then on any page, put and preview/save the following to see that nothing is transcluded:

{{#lsth:Mypage|Test}}