Skip to content

Commit fa8c762

Browse files
escape double quotes in prop description
1 parent 986ce17 commit fa8c762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/development/_py_components_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def create_prop_docstring(
420420

421421
# formats description
422422
period = "." if description else ""
423-
description = description.strip().strip(".") + period
423+
description = description.strip().strip(".").replace('"', r"\"") + period
424424
desc_indent = indent_spacing + " "
425425
description = fill(
426426
description,

0 commit comments

Comments
 (0)