Wagtail client-side components
    Preparing search index...

    Function urlify

    • This util and the mapping is refined port of Django's urlify.js util. Without the Regex polyfill & without running trim (assuming the trim will be run before if needed). In addition, it contains better handling different target languages via the locale option.

      Parameters

      • originalStr: string
      • __namedParameters: { allowUnicode?: boolean; locale?: string; numChars?: number } = {}

      Returns string