e-Learning-by-SSE / nm-self-learning

https://staging.sse.uni-hildesheim.de/selflearn
4 stars 4 forks source link

Umlaut problem with slugs #105

Closed spark-sse closed 9 months ago

spark-sse commented 9 months ago

Wenn deutsche Inhalte erstellt werden die Umlaute im Titel haben, ist der Slug nicht sinnvoll:

IST: Hören -> horen

SOLL: Hören -> hoeren

spark-sse commented 9 months ago

=> create a custom slugify method which replaces umlauts. Use only this one

spark-sse commented 9 months ago

during testing, it was found that a trailing whitespace can be added to the slug, resulting in a bug where the learning unit is not reachable