Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons do not render in post excerpts #172

Open
mlwilkerson opened this issue Apr 22, 2022 · 0 comments
Open

Icons do not render in post excerpts #172

mlwilkerson opened this issue Apr 22, 2022 · 0 comments

Comments

@mlwilkerson
Copy link
Member

To reproduce:

  1. configure the plugin with default configuration (CDN, Free, Webfont)
  2. create a post with the block editor, using shortcodes for the icons (same result if <i> or <span> is used)
  3. add a few icons in blocks, small enough content such that the automated excerpt would include the region of content that has the icons
  4. use a theme that lists post excerpts on the home page, like the default Twenty Twenty-two theme in the standard WP 5.9.3 docker image
  5. publish and view that front page

Actual results:

image

Inspecting the DOM, we see:

<p class="wp-block-post-excerpt__excerpt">beer: star: android: </p>

Expected results: showing the icons

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant