Topic on Extension talk:Poem

poem still generates <pre> for leading blanks

6
Kbrose (talkcontribs)

Despite what the documentation says:

  • Spaces at the beginning of a line are preserved and no longer invoke the <pre> tag

it still happens. Is there a work around? ~~~~

Alex brollo (talkcontribs)

Please can you link a page where it happens?

Kbrose (talkcontribs)

No, I am using it on a private wiki. 1.25 MW with 1.25 or 1.26 extension.

If it indeed works as advertised on, say, the English WP, could the result be some side effect due to some other configuration that I don't have?

Kbrose (talkcontribs)

Ok, after some more experimentation, it appears that the injection of <pre> is the result of some side effect when using <poem> in a template. I don't know yet exactly what caused it, but I'll close the issue from my side, as I have a workaround for the desired outcome by other means.

Alex brollo (talkcontribs)

If you really need to use poem tag into a template, try #tag:poem syntax: Help:Magic words (if you never did).

Kbrose (talkcontribs)

Ah, yes. I probably should have used it that way. I'll try that some time. Thanks much.

Reply to "poem still generates <pre> for leading blanks"