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

feat: allow description to safely include HTML tags #1820

Merged
merged 11 commits into from
Dec 31, 2024

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

Uses html-to-text to remove any HTML tags from descriptions.

This ended up being a fun exploration of defaulting. As suggested in the issue, if the README.md has a CTA-style paragraph that strictly matches the package.json after removing HTML tags, then it's used.

💖

@JoshuaKGoldberg JoshuaKGoldberg force-pushed the description-with-html-tags branch from b1b78b1 to 57dcb62 Compare December 31, 2024 08:42
@JoshuaKGoldberg JoshuaKGoldberg force-pushed the description-with-html-tags branch from 57dcb62 to 54de861 Compare December 31, 2024 08:43
@JoshuaKGoldberg JoshuaKGoldberg merged commit 9bc3f69 into main Dec 31, 2024
13 of 14 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the description-with-html-tags branch December 31, 2024 09:13
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.

🚀 Feature: Allow description to safely include HTML tags
1 participant