Re: [Tiki-users] Linking to headings with unicode characters
Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Mon, 14 Feb 2022 15:04:25 +0100
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Am Montag, dem 14.02.2022 um 13:43 +0000 schrieb Jonny Bradley via TikiWiki- users: > Hi Volker > > Tiki is probably replacing the non-ascii-7 chars with something URL safe, > so check in the source of the page, of the DOM inspector for what the <a> > "href" attribute value is and use that. This is the piece: <h3 class="showhide_heading" id="berschrift"> Überschrift<a href="#berschrift" class="heading-link"><span class="icon icon-link fas fa- link "></span></a></h3> So you say, that unicode characters are unsafe in URLs? I tried it, I replaced href="#berschrift" with href="#Überschrift" and opened the file with "#Überschrift" added at the end of the filename. It works fine. At least in Firefox. > Would be nice if tiki just did that but it would be tricky as other > processing happens on the page to make sure they are all unique values (by > adding numbers at the end). Are you sure, that unicode characters aren't allowed in URLs? I know for sure, that they are allowed in domain names. Cheers, Volker > > > > > On 14 Feb 2022, at 13:36, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote: > > > > P.S.: It's Tiki 21 I'm talking about. > > > > Am Montag, dem 14.02.2022 um 14:26 +0100 schrieb Volker Wysk: > > > Hi! > > > > > > I have two headings in my test page: "!!! Überschrift" and "!!! > > > Ueberschrift". Linking to the first one with "((Mypage|#Überschrift))" > > > doesn't work. Linking to the second one with "((Mypage|#Ueberschrift))" > > > does work. > > > > > > There must be a problem with unicode characters in headings. Actually, > > > linking to "((Mypage|#berschrift))" works and it links to the "Überschrift" > > > heading. > > > > > > This looks like a bug to me. Is there a workaround? > > > > > > I'm about to report this as a bug. > > > > > > Cheers, > > > Volker > > > _______________________________________________ > > > TikiWiki-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > _______________________________________________ > > TikiWiki-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users > > > _______________________________________________ > TikiWiki-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users _______________________________________________ TikiWiki-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmIKYWkACgkQ+K4ydFOs HoX9TRAAtXBLyetJE2T0KW4sZqQn+/SSNz4smrJx0Pmd6DlkECcKXzxnCp9PYPZZ vW3NsVugxxNsMiQIi7tztMFtCZ6wxEXMqCQW2YXeyvafmair//nlxc6w7gLSqiTn yH+xAOVa24JXfVjgBQ5sGotA8Kgd9QkibSUqY93oRNE2/ml+/5ujVh6gdvWaBOkQ CxNTPorh1tra1l9ebj6HV6cf/D3K2ZYk1CDCFDuWOkwOcFFkcg7QemN1lxQrEOCm oUUdzqkytocBLnOX8wsaNyam+9U+4L6nmAp3LuhXArz43C9wXoGzvqj/wPwQg7c2 hsf7QnWTbuSf9S0chlKqAGt/qbyjqg7OerplFAencF/SZ+51JrxYe0xSBkC9AIYW QuRls5tgBQmoKwNNAP48yGJW/9O5CcA3ITBHvgdasFPv7CXtKqJSUKLqaUoaNW4m mXF+sEmkz9I9pSWy7RBMSXA1xSGaJiPP89lRRPYKy7hsWXQz6gHkOpChbcHwNq8z 7F08NpjyFdhFR+siiV6ON7gJgD94lZE8c4lO7T8kKwfrYwSI9+TCkC1cRPFUXGfs ETPDBSuLcYd7gxkrhXdRJL5dfnJpT8FFyc8A6UiBCeiMm/DAqkkGKhYffy8l7I9O aIueoLFyCd7uh+lNY+1Nv5ylTsW8FGkBeyFXKIwVQoKb8agR6QE= =JhF8 -----END PGP SIGNATURE-----