I introduced a link in some of my hotpot exercises that when clicked took the user to a feedback activity within the same course. The URL I intruduced was this:
This worked flawlessly with the hot potatoes exercise outside the hotpot module but once I upload the exercise via the hotpot module, when the linked is clicked, it takes me to the following URL:
<a style="cursor: pointer; text-decoration: underline;" onclick="window.open('http://parles.upf.es/moodle/mod/feedback/view.php?id=1283');return false;">here</a>
Why is this happening this to me?
I don't think the HotPot module is changing your links. I think they are being changed by Moodle when you upload the HTML to your site.
I wonder if the link would work if you changed it to the following:
<a style="cursor: pointer; text-decoration: underline;" href="http://parles.upf.es/moodle/mod/feedback/view.php?id=1283" target="_blank">here</a>
all the best
P.S. Out of interest, if you decode "%5BURL%5D", you get "[URL]"
Thanks a lot, Gordon.