Removing a necessary vertical bar while deleting picture name

Create issue
Issue #93 new
Former user created an issue

Hello,

I notice that CD can break Template by removing a extra vertical bar | while removing deleted picture

Example here : https://fr.wikipedia.org/w/index.php?title=Communaut%C3%A9_carib%C3%A9enne&type=revision&diff=194719695&oldid=192987616&diffmode=source

This is not the first time i saw that bug. I will try to search extra example.