Muut
May 1, 2017, 12:29pm
1
Hi,
Grav is shorting some external urls at my side:
[test](https://steamcommunity.com/sharedfiles/filedetails/?id=566885854)
to
https://steamcommunity.com/sharedfiles/filedetails/
e.G.
[test2](https://steamcommunity.com/id/sicco0803)
is OK
any ideas?
Muut
May 1, 2017, 2:27pm
2
Grav will take HTML attributes in the link and add them to the element on the page. In this case, your link probably looks something like
<a id="566885854" href="https://steamcommunity.com/sharedfiles/filedetails/">test</a>
https://learn.getgrav.org/content/linking#pass-through-supported-attributes
That link suggests that there is someway to avoid this behavior, but I don’t think the docs are correct.
Muut
May 1, 2017, 3:50pm
3
U are right, result is
<p><a href="https://steamcommunity.com/sharedfiles/filedetails/"" id="566885854"">test</a></p>
fixed with direct included html:
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=566885854">test4</a>
thx