Revision 14133
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/username_prefix.php | ||
---|---|---|
11 | 11 |
|
12 | 12 |
# remove padding used to visually separate elements: x__@y__@url -> x@y@url |
13 | 13 |
# also remove leading __ that indicates internal field: __x@url -> x@url |
14 |
# this leaves embedded __ (eg. x__y) untouched |
|
14 | 15 |
$path = preg_replace('/\b__|__\b/', '', $path); |
15 | 16 |
|
16 | 17 |
# remove insertion comments: [c]x[d]@url -> x@url |
Also available in: Unified diff
web/username_prefix.php: remove padding used to visually separate elements: documented that this leaves embedded _ (eg. x_y) untouched