mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:35:53 +08:00
The .json file doesn't show replacement text so trying to get that
This commit is contained in:
parent
2fa3baac23
commit
8d878f124b
@ -95,7 +95,7 @@ class Formulas(Linter):
|
||||
if len(found.group().splitlines()) > 1:
|
||||
self._replacement_text = ''
|
||||
else:
|
||||
self._replacement_text = found.group().replace(incorrectString, self._correct_formula)
|
||||
self._replacement_text = found.group().replace(incorrectString, self._correct_formula).strip(' ')
|
||||
return found
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user