[Post Excerpt] Allow HTML in custom excerpts
Opened this issue · 0 comments
justintadlock commented
Currently, WordPress is stripping HTML from custom excerpts:
I managed to fix this with a very convoluted workaround in 1e87fa2. However, this is a bit of a hacky workaround.
Ideally, the WP HTML API would support replacing innerHTML
. This would allow us to simply filter render_block_core/post-excerpt
and replace the core-output excerpt with the excerpt that the user manually defined: