ualibraries / Guide-on-the-Side

The University of Arizona Libraries will no longer provide support for Guide on the Side. The code will remain openly available; however, UAL can no longer provide code fixes or upgrades.
https://ualibraries.github.io/Guide-on-the-Side/about.html
Other
66 stars 48 forks source link

Bolded text hyperlink in right frame error #183

Open lpmagnuson opened 5 years ago

lpmagnuson commented 5 years ago

Hello, I think this error is slightly different than the closed issue #61 .

In popup mode, if a tutorial creator bolds text in the text editor, then adds a hyperlink to bolded text that is set to open , the link in the tutorial for the user results in an error in FireFox (in Chrome, the link simply does nothing).

To see an example of this, see this tutorial, which has two links - link that was created by hyperlinking text then bolding it (which works perfectly); and a second link that was created by bolding text, then hyperlinking it.

http://guideside.palni.org/guide_on_the_side/tutorial/lpmtest1

The HTML that seems to cause a problem is:

<a href="https://something.com" target="site-frame"><strong>Bolded, then hyperlinked</strong></a>

Clicking that link takes me to the Guide on the Side login page in the right frame and I see: Invalid tutorial You are not authorized to access that location.

I can only reproduce the error message in FireFox, in Chrome, nothing happens when I click the "Bolded, then Hyperlinked" link.

FWIW, as long as you hyperlink some text and then bold it, the link is totally OK.