This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Broken anchor link when directive replaces its markup #4262
Closed
Description
A simple directive that replaces markup with an anchor surrounded by a div. This is broken when the markup being replaced is an anchor itself.
There are 2 workarounds:
- don't use an anchor tag to be replaced
- don't surround the replacing anchor with a div
See here for a reproduction of the issue: http://plnkr.co/edit/sYqXhe3gcBicmR1tSECN