While trying to fix the appearance of `<code>` elements inside of anchors with external URLs in #41694, the positioning of external link icons was broken for anchors that would span multiple lines (see #41774 for details). This commit fixes the positioning of external link icons, while still preserving the correct appearance of `<code>` elements inside anchors with external URLs. NOTE: Different types of links with external URLs can be seen in the following docs sections: - http://localhost:4200/docs#assumptions - http://localhost:4200/guide/http#security-xsrf-protection - http://localhost:4200/guide/workspace-config#generation-schematics Fixes #41774 PR Close #41794