mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Skipping answer simplification if value is undefined
This commit is contained in:
parent
a880d67eae
commit
bd6bf2de62
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ function simplifyQA(value, mods) {
|
|||
}
|
||||
|
||||
function simplifyAnswer(value) {
|
||||
if (!value) {
|
||||
return value
|
||||
}
|
||||
return simplifyQA(value, [
|
||||
removeSpecialChars,
|
||||
removeUnnecesarySpaces,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue