diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
index 57f7cb9ada..6ffd9d35ef 100644
--- a/src/wp-includes/category-template.php
+++ b/src/wp-includes/category-template.php
@@ -452,7 +452,7 @@ function wp_list_categories( $args = '' ) {
if ( empty( $categories ) ) {
if ( ! empty( $show_option_none ) ) {
if ( 'list' == $style )
- $output .= '
' . $show_option_none . '';
+ $output .= '' . $show_option_none . '';
else
$output .= $show_option_none;
}
@@ -461,7 +461,7 @@ function wp_list_categories( $args = '' ) {
$posts_page = ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) ) ? get_permalink( get_option( 'page_for_posts' ) ) : home_url( '/' );
$posts_page = esc_url( $posts_page );
if ( 'list' == $style )
- $output .= "$show_option_all";
+ $output .= "$show_option_all";
else
$output .= "$show_option_all";
}