[Koha-bugs] [Bug 25483] Url item field no longer accepts html tag

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 14 22:46:18 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25483

--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I've tested in 17.11 and it works, but only 'by accident' because the browser
ignores the very invalid HTML it creates:

<a href='https://cve-grics-ca.proxy.collanaud.qc.ca/fr/1133/33191'>Link to the
resource</a>">  <a
href='https://cve-grics-ca.proxy.collanaud.qc.ca/fr/1133/33191'>Link to the
resource</a></a>

The change on master is:

<a
href="%3Ca%20href='https://cve-grics-ca.proxy.collanaud.qc.ca/fr/1133/33191'%3ELink%20to%20the%20resource%3C/a%3E">Link
to resource</a>

We are now escaping the content entered in $u.

I feel we need a better, different way than adding HTML to this field to be
able to specify a link text. Is there a separator we could use?

url | linktext ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list