duffn / dumb-password-rules

A compilation of sites with dumb password rules.
https://dumbpasswordrules.com
MIT License
2.99k stars 297 forks source link

Dashes are explicitly removed from descriptions #461

Closed ascott18 closed 1 year ago

ascott18 commented 1 year ago

This should say "9-30", but instead reads "930"

image

https://github.com/duffn/dumb-password-rules/blob/9f58b1aa72c50b7218f4edd9bc032f49f8d635d3/src/pages/sites/thumbnails.njk#L22

duffn commented 1 year ago

Thanks for the issue.

Ah, yeah. I was trying to make it so the clamped description under the thumbnail looked good without dashes and asterisks on the first line, but think it's probably fine to just use site.description and remove the replaces and just let it show like it is.

If you'd like to submit a PR, I'd review, otherwise I'll get to it later tonight.