Ticket #504 (closed Bug: invalid)
url::title wrongly converts 'Š'
| Reported by: | viforeg | Owned by: | Geert |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.2 |
| Component: | Helpers | Version: | SVN HEAD |
| Keywords: | url::title | Cc: |
Description
url::title helper wrongly converts 'Š'
This line converts 'Š' to '-'
$title = preg_replace('/[-_\s]+/', $separator, $title);
After that line is
$title = utf8::transliterate_to_ascii($title);
To correct this problem those lines should be swapped or preg_replace should use /u modifier.
Change History
Note: See
TracTickets for help on using
tickets.
