Format files using prettier

This commit is contained in:
nachtjasmin 2023-07-14 06:59:33 +00:00 committed by github-actions[bot]
parent b9fbb9b204
commit c4c541ecbf

View file

@ -136,10 +136,10 @@ function sanitizePronouns(str) {
str = str.replace(/:[\w_]+:/gi, "");
// Finally, remove leading and trailing whitespace.
str= str.trim();
str = str.trim();
// If the result is empty, return null, otherwise the empty string.
return str==="" ? null : str;
return str === "" ? null : str;
}
const knownPronouns = [