Topic on Module talk:Transcluder

Transcluding heading weirdly

2
99.139.100.209 (talkcontribs)

I am using {{#invoke:Transcluder|main|MainPage#Heading1|sections=Section 2}} and for some reason it is transcluding the heading with the leading equal signs. For example, instead of transcluding Section 2 it is transcluding ==Section 2. This doesn't happen with the first section in a chapter, only the following ones.

Source:

Heading 1

Section 1

text

Section 2

text

Ideal transclusion:

Section 2

text

Error:

== Section 2

text

Sophivorus (talkcontribs)

Hmm, I was able to reproduce the issue in User:Sophivorus/sandbox. Thanks for the report! I'll look into it asap but in the meantime, perhaps using {{#invoke:Transcluder|main|Main Page#Section 2}} instead can help you. Cheers!

Reply to "Transcluding heading weirdly"