Changeset 4541
- Timestamp:
- 06/21/08 20:37:15 (13 months ago)
- Files:
-
- 1 modified
-
branches/0.11/vendor/Sensei/Sensei/Doc/Section.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/vendor/Sensei/Sensei/Doc/Section.php
r2963 r4541 394 394 public static function convertNameToPath($name) 395 395 { 396 $patterns = array('/\s/', '/[^a-z0-9-]/');397 $replacements = array('-', '');396 $patterns = '/\s/'; 397 $replacements = '-'; 398 398 399 399 return preg_replace($patterns, $replacements, strtolower($name));