Long Anchor Tag Generation

Hey all, I’m currently using Python3.11 and Streamlit 1.28… in the process of upgrading to the latest versions and I’m adding a few new features on my application.

One issue I keep bumping into is Anchor Tags for headers, on my app paperround.io. You will notice that only about half the anchor tags work, this is because I’ve noted the tags are generated using slugifiy (kebab-case generation) however the longer tags seem to be generated as a smaller Unicode, how do I replicate this behaviour in order to improve my self-generated links?!

Thanks in advance for the help!

Ps. Looked at the anchor tags documentation but unfortunately it doesn’t address the longer headings!

Hi @chrissamharris,

Thanks for posting!

Can you share your code so we can troubleshoot it for you?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.