diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
index 6b44820dad..1913dbedff 100644
--- a/src/wp-includes/formatting.php
+++ b/src/wp-includes/formatting.php
@@ -3022,11 +3022,11 @@ function wp_rel_nofollow_callback( $matches ) {
$html = '';
foreach ( $atts as $name => $value ) {
- $html .= "{$name}=\"" . esc_attr( $value ) . "\" ";
+ $html .= "{$name}=\"" . esc_attr( $value ) . '" ';
}
$text = trim( $html );
}
- return "";
+ return "';
}
/**