-
I’m having trouble configuring Vale to accept our company name, but at the same time not give an error when the company name is used in email addresses or social media handles. Using built-in spelling, with a custom vocabulary (accept.txt).
Example content: When Vaadin is used as-is, it works fine. And misspelled vaadin gives an error.
But when used in an email address link:mailto:example@vaadin.com[example@vaadin.com] it also gives an error. Same thing with a social media handle, @vaadin. I tried using a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a little tricky due to how tokens like |
Beta Was this translation helpful? Give feedback.
This is a little tricky due to how tokens like
@vaadin
are split, but you could change your vocab entry to(?-i)Vaadin
. This will have the effect of strictly allowing the use of "Vaadin" to passVale.Spelling
while also avoiding the case suggestions for instances of@vaadin
.