Correcly append edit=drag on links with hash (fixes #265)