List of steps to reproduce (step by step, including full links if applicable):
- Go to https://zh.wikipedia.org/wiki/?curid=548296&oldid=71337232&variant=zh-tw
- The content has expected conversion result
- The TOC has unexpected conversion result, which should stay the same with content conversion result
What happens?:
Conversion rules only identify the last stored conversion rules and thus ignored the fact that the conversion rules after the headings shouldn't be applied to those headings before them.
What should have happened instead?:
- The TOC has expected conversion result, which should stay the same with content conversion result
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
1.39.0-wmf.8 (a4aaf3c)
23:53, 18 April 2022