Fix prefix in element endTag

Fixed element's endTags the same way it was fixed for startTags: sohira@2542791