Skip to content

Remove quotes added by tailwindcss/typography in block quotes#230

Open
alametti wants to merge 2 commits into0x2E:mainfrom
alametti:typography-quotes-and-word-break
Open

Remove quotes added by tailwindcss/typography in block quotes#230
alametti wants to merge 2 commits into0x2E:mainfrom
alametti:typography-quotes-and-word-break

Conversation

@alametti
Copy link
Copy Markdown

@alametti alametti commented Mar 1, 2026

This PR removes automating opening and closing quotes in <blockquote> elements.

Problem

The typography plugin pulled into the frontend CSS adds open-quote before the first <p> of a <blockquote>, and a close-quote after the last one. This causes issues when the original feed already contains quotes (note "" and /»"):

image image

This is also visually inconsistent because often <blockquote>s will not contain a <p> at all (so no quote is currently added), or the last element may be something like a <ol>, in which case the quote would be added nonsensically before it.

Solution

This PR configures tailwindcss/typography to not add these quotes.

Here are the same screenshots as above after applying this patch:

image image

Misc

This PR also specifies that go 1.26+ is now required in CONTRIBUTING.md

@alametti alametti force-pushed the typography-quotes-and-word-break branch from fda9f3e to 4839652 Compare March 3, 2026 20:15
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.

1 participant