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:
There are other rules that select "a", those can be changed too for consistency.
A link without the
hrefattribute works like normal text, it would be nice to make prose just ignore those.Changing the selector from:
To:
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.