Changes between Initial Version and Version 1 of Ticket #56531, comment 5
- Timestamp:
- 09/25/2022 04:52:37 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56531, comment 5
initial v1 28 28 // Converts spaces and dashes to hyphen-minus. 29 29 $title = preg_replace( '/[\p{Zs}\p{Zl}\p{Zp}\x{2010}-\x{2015}\x{2212}]/u', '-', $title ); 30 // Converts &, @, /, * and dots to hyphen-minus.31 $title = str_replace( array( '&', ' @', '/', '*', '·', '‧' ), '-', $title );30 // Converts &, <, >, @, /, * and dots to hyphen-minus. 31 $title = str_replace( array( '&', '<', '>', '@', '/', '*', '·', '‧' ), '-', $title ); 32 32 // Converts times to 'x'. 33 33 $title = str_replace( '×', 'x', $title );