Skip to content

Commit 7e3e84c

Browse files
committed
had to revert the change. Any number bigger than 6 for the filter priority results in links not working #79
1 parent c67896b commit 7e3e84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function simpletoc_add_ids_to_content( $content ) {
164164
return $content;
165165
}
166166

167-
add_filter( 'the_content', __NAMESPACE__ . '\simpletoc_add_ids_to_content', 999 );
167+
add_filter( 'the_content', __NAMESPACE__ . '\simpletoc_add_ids_to_content', 1 );
168168

169169
/**
170170
* Recursively adds IDs to the headings of a nested block structure.

0 commit comments

Comments
 (0)