Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for boundaries around bad words #15

Open
rviscomi opened this issue Jul 20, 2022 · 0 comments · May be fixed by #16
Open

Look for boundaries around bad words #15

rviscomi opened this issue Jul 20, 2022 · 0 comments · May be fixed by #16

Comments

@rviscomi
Copy link

In GoogleChrome/web.dev#8373 (comment) the bot flagged "OCD" in the source text. However, the offending line is this:

thumbnail: image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/dUBhcdiLqE1OCDUV7ZYm.jpg

https://github.com/GoogleChrome/web.dev/blob/e3b960500b31b8b0f0d143e41ff133a022361e28/src/site/content/en/blog/godaddy/index.md?plain=1#L12

Consider checking for boundaries on either side of the bad words to avoid false positives, ie /\bOCD\b/.

@rviscomi rviscomi linked a pull request Jul 20, 2022 that will close this issue
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 a pull request may close this issue.

1 participant