duffn / dumb-password-rules

A compilation of sites with dumb password rules.

Home Page:https://dumbpasswordrules.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dashes are explicitly removed from descriptions

ascott18 opened this issue · comments

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

image

<p class="pointer-events-none block text-sm font-medium text-gray-500 line-clamp-1">{{ site.description | replace("-", "") | replace("*", "") }}

commented

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.