aleph.js
aleph.js copied to clipboard
HTML tag "a" with "mailto" generates incorrect URLs
"mailto" links are incorrect generated.
Source code:
<a href="mailto:John Doe<[email protected]>">[email protected]</a>
Browser HTML:
<a href="/legal_warning/mailto:John Doe<[email protected]>" aria-current="page">[email protected]</a>
aleph --version output:
aleph.js 0.3.0-beta.19
deno 1.17.1
v8 9.7.106.15
typescript 4.5.2
try to add target="_blank"
, this will be fixed in future update
Hey @97carmine Can I solve this?
As @ije indicated, adding 'target="_blank"' solves the problem even if it is a temporary solution.
@NaincyKumariKnoldus Sure.
But @97carmine I didn't found this [email protected] anywhere in source code. Can you help me?
@NaincyKumariKnoldus It is an example, the error I indicate is that the current path is added in the URL of the attribute "href" when generating the label "a" when using "mailto"