Re: [Tiki-devel] Function for encoding anchor names

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Am Freitag, dem 24.02.2023 um 03:49 -0500 schrieb Marc Laporte:
> Thank you Volker!
> 
> https://gitlab.com/adrienmaloba will work with you to get this as a proper merge request so it can make its way into Tiki.

Making a merge request isn't the problem. But this anchor encoding function
needs to be applied in various places. Such as

- the code the ANAME plugin generates
- the code the maketoc plugin generates
- how an internal link with a subsection is translated to HTML
- and more

The tiki source code is big, and I don't know where to start. Perhaps I
could update the affected plugins first.

Bye,
Volker


> 
> Best regards,
> 
> Marc
> 
> 
> On Fri, 24 Feb 2023 06:56:17 +0100 Tiki developers [email protected] said
> 
> > Hi.
> > 
> > Here it is again. I've renamed the function and added some comments.
> > 
> > Volker
> > 
> > Am Freitag, dem 24.02.2023 um 06:15 +0100 schrieb Volker Wysk:
> > > Hi!
> > > 
> > > I've written a PHP function which does a standards-compliant encoding of an
> > > anchor name to a URL fragment string (the part of an URL after the "#").
> > > 
> > > Now this function needs to be used in Tiki.
> > > 
> > > See attachment.
> > > 
> > > Volker
> > > _______________________________________________
> > > TikiWiki-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> > 
> > 
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmP4iTcACgkQ+K4ydFOs
HoViHRAAzycV4TU/KRJwc18ds+kV06M3sYWKSF2hT0wNXoP0+5r077POwE8Yzn2w
QIukhK65pnNjbPGv+mRbLu/fenlqde1jksZ57diAe2ek68FnZWUlE7Op0phEwcmX
TBAtq8pXWne7w7UgsNuYA2aHb4SheQyiXhaGlupMQ5Uv8vRLEpmojML4eihChwRp
RefopPY35n27uPn1fNLgqUTQ+A1/6MVGy1LXF3yt0LqrTefycVjF3tEn2nXNhT0e
X854/MOp4evTruT536PvfPeIXkW74Pm8GRIjlsjdL4mdW6SDeeKQfGpYXVaI8A9j
Ju2zUJhjKjwzKzEhAXjfTWYsH2frpvlzU3yJyU6Ifw7DEiUKgewDJyDp+SAwHGw8
3AyjKofoITNkyhDk9OlZwzhVKxez9oWy6HknZbYq7nR5Zeus1EAw9nxb+FeSyFSf
KVS1Bqrnlad7GtS8xYn4QnSnmWkIde5czUi/X1xj47dtVkqIw8EqXHB0aAQV/kp9
lKC4h+xiK1D2TTTgsLVJCQO5lEXX97ao3UvK7Z0Ue2mC7qvnn1ccmhwKW4MJ4aIc
zJFI8VYeTaA3zpKJlMXDQmAbzd8GLjHGUYvE0/BiFqpavqLw7fDbZsHdU3t3Phys
Mn37pLwuYiQxEHnc6unRxR9fMuFeZqkcw683glZGcCtlmtOQaUk=
=lq+s
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.