(bug 7059) 'anchorencode' colon function needs one more replace '+' -> '_'

This commit is contained in:
Jimmy Collins 2006-09-27 18:24:08 +00:00
parent 2a13633f31
commit ae0e481579

View file

@ -164,7 +164,7 @@ class CoreParserFunctions {
}
function anchorencode( $parser, $text ) {
return str_replace( '%', '.', urlencode( $text ) );
return str_replace( '%', '.', str_replace('+', '_', urlencode( $text ) ) );
}
}