mirror of https://github.com/kiwix/libkiwix.git
if a link contains nested elements like `<a href="http://somewhere"><strong>goto</strong></a>` then the link is trigger by the `<strong />` element which has no `href` attribute. We were thus releasing the event in this case, resulting in legitimate external links not blocked. We are now looking for the closest `<a />` parent (might be self) to retrieve the `href` attribute and capture if necessary. |
||
---|---|---|
.. | ||
jquery-ui | ||
block_external.js | ||
caret.png | ||
taskbar.css | ||
taskbar.js |