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

Change the filter to the correct order #399

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

nickchen120235
Copy link
Contributor

Description

This PR corrects the order of the filter of content property inside twitter:description meta tag.

Closes #398

Screenshot

image

image

Testing Instructions

  1. Change header_text to multi-line content with HTML tags
  2. Check the twitter:description meta tag at homepage, the HTML tags should be stripped and not overflowed to body
  3. Check the twitter:description meta tag at any posts, the behavior should be identical as before

@sylhare sylhare merged commit ed32cec into sylhare:master Sep 11, 2023
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

Successfully merging this pull request may close these issues.

Multi-line header with HTML tags breaks twitter:description meta tag
2 participants