Skip to content

Commit 2f50c94

Browse files
committed
renderers: account for space in plots name
1 parent ce75208 commit 2f50c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dvc_render/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def SCRIPTS(self): # pylint: disable=missing-function-docstring
4848
def remove_special_chars(string: str) -> str:
4949
"Ensure string is valid HTML id."
5050
return string.translate(
51-
{ord(c): "_" for c in r"!@#$%^&*()[]{};,<>?\/:.|`~=_+"}
51+
{ord(c): "_" for c in r"!@#$%^&*()[]{};,<>?\/:.|`~=_+ "}
5252
)
5353

5454
def generate_html(self, html_path=None) -> str:

0 commit comments

Comments
 (0)