Skip to content

Commit

Permalink
Fix mistake in warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgeatches committed Apr 8, 2024
1 parent f753421 commit c547220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ assertEquals( [
**Warning**
Be careful with content modification before parsing. In the example above, if a block contained the text "wp:test/invalid-block" outside of a block header, this would also be changed to "core/paragraph". This is likely not the intent of the code.
Be careful with content modification before parsing. In the example above, if a block contained the text "wp:test/invalid-block" outside of a block header, this would also be changed to "wp:paragraph". This is likely not the intent of the code.
All block markup is sensitive to changes, even changes in whitespace. We've added this filter to make the plugin flexible, but any transforms to `post_content` should be done with extreme care. Strongly consider adding tests to any usage of this filter.
Expand Down

0 comments on commit c547220

Please sign in to comment.