slug with non latin letters

Feed 2 posts, 2 voices

Aug 16, 2008 09:04
Avatar
2 posts

patch frog.js: toSlug: function() { /return this.strip().downcase().replace(/[^-a-z0-9~\s.:;+=_]/g, '').replace(/[\s.:;=+]+/g, '-');/ return this.strip().downcase().replace(/[\s.:;=+~`!@#$%^&*()"%?'/№]+/g, '-'); } patch frontend/main.php: function find_page_by_uri($uri) { global $FROG_CONN;

$uri = trim($uri, '/');

//patch $uri = urldecode($uri);

 
Aug 16, 2008 09:05
Avatar
2 posts

use nl2br please in forum... ;)

 
Aug 16, 2008 11:45
Avatar
37 posts

@DYPA : please use markdown in the forum :)

You can see related issue #24.