Skip to content

Commit d61a4d6

Browse files
Fixing tabs vs spaces.
1 parent 2187ffe commit d61a4d6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

plugin.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -313,21 +313,21 @@ function filter_headings_recursive($blocks)
313313
}
314314
}
315315

316-
$supported_third_party_blocks = array(
317-
'generateblocks/headline', /* GenerateBlocks 1.x */
318-
'generateblocks/text', /* GenerateBlocks 2.0 */
319-
);
320-
321-
/**
322-
* Filter to add supported third party blocks.
323-
*
324-
* @param array $supported_third_party_blocks The array of supported third party blocks.
325-
* @return array The modified array of supported third party blocks.
326-
*/
327-
$supported_third_party_blocks = apply_filters(
328-
'simpletoc_supported_third_party_blocks',
329-
$supported_third_party_blocks
330-
);
316+
$supported_third_party_blocks = array(
317+
'generateblocks/headline', /* GenerateBlocks 1.x */
318+
'generateblocks/text', /* GenerateBlocks 2.0 */
319+
);
320+
321+
/**
322+
* Filter to add supported third party blocks.
323+
*
324+
* @param array $supported_third_party_blocks The array of supported third party blocks.
325+
* @return array The modified array of supported third party blocks.
326+
*/
327+
$supported_third_party_blocks = apply_filters(
328+
'simpletoc_supported_third_party_blocks',
329+
$supported_third_party_blocks
330+
);
331331

332332
if (isset($blocks['blockName']) && in_array($blocks['blockName'], $supported_third_party_blocks) && $innerBlock !== 'core/heading') {
333333
// make sure it's a headline.

0 commit comments

Comments
 (0)