The plugin should either remove and/or parse blocks before generating a post / page excerpt. Found that when there's a block on the content something like this happens when the excerpt option is enabled:
The excerpt function is returning non parsed block HTML comments which should be converted into actual blocks before generating the excerpt itself. Otherwise all of the HTML code generated after the excerpt might be accidentally commented out (as seen on the code above), leading to the plugin not rendering popular posts properly.
We might need to do something like this to prevent this issue from happening.
The plugin should either remove and/or parse blocks before generating a post / page excerpt. Found that when there's a block on the content something like this happens when the excerpt option is enabled:
The excerpt function is returning non parsed block HTML comments which should be converted into actual blocks before generating the excerpt itself. Otherwise all of the HTML code generated after the excerpt might be accidentally commented out (as seen on the code above), leading to the plugin not rendering popular posts properly.
We might need to do something like this to prevent this issue from happening.