Thread:Undoniel/@comment-1487274-20180320163736/@comment-1487274-20180629113925

The problem with apostrophe (and ampersand) is caused by Template:ENL (it is used in Template:Ed). transform ' (or &) into html-codes &_#39; (or &_#38; (I added the underscore between & and # so they can be seen)), but Template:ENL replace # in them. So, for example, Marvel's Cloak & Dagger Season 1 1 is returned as Marvel&39;s Cloak &38; Dagger Season 1 1

Naturally DPL then can't find any page with such name.

I wrote an updated version of Template:Ed - User:Harasar/Sandbox/ED. I tested it on pages with ', &, both of them and none of them. In all cases it return correct result. So, you can copy code from there to Template:Ed and everything should work.