@@ -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