Open
Description
A link without the href
attribute works like normal text, it would be nice to make prose just ignore those.
Changing the selector from:
.prose a {
/* styles */
}
To:
.prose a[href] {
/* styles */
}
Should be enough.
It seems that it is a single line change on:
tailwindcss-typography/src/styles.js
Line 1409 in 39d20e1
There are other rules that select "a", those can be changed too for consistency.
Metadata
Metadata
Assignees
Labels
No labels