From 69c97349db4b4b4b3e7b60ae0ef5809298f247c0 Mon Sep 17 00:00:00 2001 From: skyanth Date: Fri, 10 Feb 2017 14:25:33 +0100 Subject: [PATCH] replace double quote with - for valid xml id --- scripts/gitlab-to-pentext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitlab-to-pentext.py b/scripts/gitlab-to-pentext.py index 4c9fe31..970e784 100644 --- a/scripts/gitlab-to-pentext.py +++ b/scripts/gitlab-to-pentext.py @@ -234,7 +234,7 @@ def valid_filename(filename): """ valid_filename = '' for char in filename.strip(): - if char in [':', '/', '.', '\\', ' ', '[', ']', '(', ')', '\'']: + if char in [':', '/', '.', '\\', ' ', '[', ']', '(', ')', '\'', '"']: if len(char) and not valid_filename.endswith('-'): valid_filename += '-' else: