Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Links in handouts to outside website

Ok, maybe I'm doing it wrong... or maybe it just doesn't work but... I created a handout. In the handout, I want to put a link to a website. I did the same thing in the handout as I do here: I click the "link" button and enter the link address and click "Insert link" The link address is the full URL to the outside website, including the https part. But, after saving the handout, it doesn't work - clicking on it doesn't open the other site location. The link:&nbsp; <a href="https://wiki.travellerrpg.com/Tobia_(world)" rel="nofollow">https://wiki.travellerrpg.com/Tobia_(world)</a> It works here...
1705734237
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try putting a back tick in front of the url in the link: `<a href="https://wiki.travellerrpg.com/Tobia_(world)" rel="nofollow">https://wiki.travellerrpg.com/Tobia_(world)</a> The back tick is necessary in journal command buttons of this nature.
Doesn't work. The wiki entry&nbsp; here &nbsp;doesn't say anything about a back tick...&nbsp; I tried it with brackets around the URL and without. I tried it with a back tick and without. I tried it with both the brackets and the back tick. None of the variations worked. keithcurtis said: Try putting a back tick in front of the url in the link: `<a href="https://wiki.travellerrpg.com/Tobia_(world)" rel="nofollow">https://wiki.travellerrpg.com/Tobia_(world)</a> The back tick is necessary in journal command buttons of this nature.
1705769311
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
My apologies. I had confused the syntax for inserting a macro/mod command into a journal link. I was certain you could send an external URL in a journal link. Apparently this only works for internal links like Compendium pages. Still looking into this.
1705769909
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
OK, did a bit more testing. Inserting a normal hyperlink URL works just fine. It is this one in particular that is causing the problem. That final parenthesis is an issue. Something about it is not parsing right. The solution is to replace that final parenthesis with it's HTML replacement: %29 This will work <a href="https://wiki.travellerrpg.com/Tobia_(world%29" rel="nofollow">https://wiki.travellerrpg.com/Tobia_(world%29</a>
1705780971

Edited 1705784472
GiGs
Pro
Sheet Author
API Scripter
In hyperlinks, I generally try to avoid any characters that aren't letters, numbers, or underscores, so open and close brackets would be changed. Some programs just don't like non-standard characters.
1705784195

Edited 1705784208
&lt;grumble&gt; Should have thought of that...&nbsp; Thanks.
1705790671
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Yeah, my initial thought was just masking the URL with something like tinyurl. But if there are going to be a lot of links to that wiki, it's probably better to find workarounds for odd characters, since you can't control the provided links.