You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When automatic spoiler opening by anchor name is used, there is a problem with some spoiler names.
If spoiler name has a non ASCII character (eg. local letters in UTF8), all non ASCII letters are filtered when they are put as "id" of H3 element (which is open/closed) (it seems filtration is on line 1430).
Because of that, links with hash anchors look distorted eg. wpspoiler name "Čevapčići" becomes #evapii
I presume same problem is with other elements (tabs, accordion). As it's nice to use ASCII letters in links, I would propose to use additional parameter in all elements for setting "anchor/hash name".
The text was updated successfully, but these errors were encountered:
Hello @stajp , The IDs are generated from headers for the sake of simplicity and character filtration was to maximize intercompatibilty with JavaScript and hashchange. Additionally this should not be a problem with HTML5, only lesser.
Maybe it can be modified to set your own IDs or remove the filtering.
When automatic spoiler opening by anchor name is used, there is a problem with some spoiler names.
If spoiler name has a non ASCII character (eg. local letters in UTF8), all non ASCII letters are filtered when they are put as "id" of H3 element (which is open/closed) (it seems filtration is on line 1430).
Because of that, links with hash anchors look distorted eg. wpspoiler name "Čevapčići" becomes #evapii
I presume same problem is with other elements (tabs, accordion). As it's nice to use ASCII letters in links, I would propose to use additional parameter in all elements for setting "anchor/hash name".
The text was updated successfully, but these errors were encountered: