sergio
1
Hi,
I have this shortcode:
<a class="package" href="https://www.test.org/url.cgi?{{ .Get 0 }}>{{ .Get 0 }}</a>
And works well in the HTML. But when I click in the URL transform this:
https://www.test.org/url.cgi?test/test
to
https://www.test.org/url.cgi?test%2Ftest
There’s a way to tell the shortcode to don’t scape the / character?
use safeURL
<a class="package" href="https://www.test.org/url.cgi?{{ .Get 0 | safeURL }}>{{ .Get 0 }}</a>
2 Likes
sergio
3
That’s exactly what I’m looking for.
Thanks!
1 Like
system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.