escape %
This commit is contained in:
parent
c1975ecd61
commit
2512bfbc1f
@ -17,5 +17,5 @@ def filter(probe, node=None):
|
|||||||
font = f":fontfile='{_text.fontfile}'"
|
font = f":fontfile='{_text.fontfile}'"
|
||||||
|
|
||||||
if _text.text_from_filename:
|
if _text.text_from_filename:
|
||||||
escape = title.replace("'", "'\\\\\\''")
|
escape = title.replace("'", "'\\\\\\''").replace("%", "\\\\\\%")
|
||||||
return f"drawtext=text='{escape}':{_text.style}{font}"
|
return f"drawtext=text='{escape}':{_text.style}{font}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user