[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
Fri May 15 08:05:47 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25483
--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #8)
> 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 ?
The one character you should absolutely NOT use is the pipe !
In item fields the pipe is the split character for repeatable subfields and
this field is repeatable too.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list