Thread:Flanqer/@comment-31595794-20190901053008/@comment-24931587-20190901152855

This is a weird problem. I tried bypassing the template and just putting the DPL code directly into the Category:Valentine's Day page. This gives an error:

But this works:

Both versions work on the Category:Christmas page. So it's not just the presence of an apostrophe in the page name, it's the combination of that and  being used in a   field.

I'll see if I can find a workaround.