Infinitnet
Infinitnet
Yes, having duplicate headings is indeed not optimal, but it's still something that's rather common and I'm just taking a "user perspective" here: If someones wants to replace another TOC...
Or much simpler...: ```php $heading_ids = []; function simpletoc_sanitize_string($string) { global $heading_ids; // Remove punctuation, non-breaking spaces, umlauts, and accents $sanitized_string = remove_accents(str_replace(" ", " ", preg_replace("/\p{P}/u", "", $string))); // Replace...
I'd love to contribute with a PR, but unfortunately my coding skills are way too basic to be able to; they're mostly a mix of being able to describe what...