mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-08 13:29:02 +08:00
Adding strip as the github actions were not picking up text with extra spaces
CURA-10901
This commit is contained in:
parent
3987969a22
commit
84f90eadf8
@ -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