Fixed some smaller template bugs that escaped your keen eyes. (#100)
This commit is contained in:
committed by
GitHub
parent
8b91073e40
commit
888208663e
@@ -197,13 +197,25 @@ init script:
|
||||
replace: { _1 + to_upper(_2) }) +
|
||||
curly_quotes +
|
||||
# step 9 : spellcheck
|
||||
{ if set.mark_errors then
|
||||
{
|
||||
if set.auto_correct then
|
||||
auto_correct(input)
|
||||
else input
|
||||
} +
|
||||
{
|
||||
if set.auto_errata then
|
||||
auto_errata(input)
|
||||
else input
|
||||
} +
|
||||
{
|
||||
if language().code == "ja" or language().code == "zht" or language().code == "zhs" then input
|
||||
else if set.mark_errors then
|
||||
check_spelling(
|
||||
language: language().spellcheck_code,
|
||||
extra_dictionary: "/magic.mse-game/magic-words",
|
||||
extra_dictionary: "/magic.mse-game/dictionary/magic-words",
|
||||
extra_match: additional_text_words
|
||||
)
|
||||
else input
|
||||
else input
|
||||
}
|
||||
|
||||
card_shape := {"flip"}
|
||||
|
||||
Reference in New Issue
Block a user