Homewrite.as

Prevent transliterated slugs exceeding limit

Authored by matt on Jul 11 2019, 1:18 PM.

Description

Prevent transliterated slugs exceeding limit

Transliteration during slug generation can cause slugs to exceed their
80-character limit. This fixes that by making a second truncation pass
on the slug during generation.

Originally reported on the forum:
https://discuss.write.as/t/title-convert-to-url-function-bug-under-chinese/723

Details

Committed
mattJul 11 2019, 1:18 PM
Parents
rWF71fb63580a38: Merge branch 'master' into develop
Branches
Unknown
Tags
Unknown
References
refs/pull/137/head