OK, I digged into the code, and found removeDisabledParts().

Bináris <wikiposta@gmail.com> ezt írta (időpont: 2023. jan. 30., H, 23:09):
Given a piece of text, I want to exclude <!-- text parts --> when searching a template. Is there a ready-to-use, nice, canonical method for it?

--
Bináris


--
Bináris