We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5dc3d0 commit 9464ce2Copy full SHA for 9464ce2
includes/create-theme/theme-locale.php
@@ -123,6 +123,8 @@ private static function get_text_replacement_patterns_for_html( $block_name ) {
123
case 'core/cover':
124
case 'core/media-text':
125
return array( '/(alt=")(.*?)(")/' );
126
+ case 'core/details':
127
+ return array( '/(<summary[^>]*>)(.*?)(<\/summary>)/' );
128
default:
129
return null;
130
}
@@ -168,6 +170,7 @@ public static function escape_text_content_of_blocks( $blocks ) {
168
170
case 'core/image':
169
171
172
173
174
$replace_content_callback = function ( $content, $pattern ) {
175
if ( empty( $content ) ) {
176
return;
0 commit comments