Skip to content
Snippets Groups Projects
Commit 06bd9a88 authored by andi's avatar andi
Browse files

merge multiple _ in pagenames #271

darcs-hash:20050425165146-9977f-cc38b541646f653a4d9a4958ee82ae5fa85bb1ed.gz
parent f243a77f
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ function cleanID($id){
$id = utf8_stripspecials($id,'_','_:.-');
//clean up
$id = preg_replace('#__#','_',$id);
$id = preg_replace('#_+#','_',$id);
$id = preg_replace('#:+#',':',$id);
$id = trim($id,':._-');
$id = preg_replace('#:[:\._\-]+#',':',$id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment