commit 512b9642df65d3b0033210e22fbc9fd1ec855bcb
Author: Petr Bokoc <pbokoc(a)redhat.com>
Date: Tue Nov 25 16:50:31 2014 +0100
We should be able to use nbsp in entities with the anaconda help script, too
prepare_anaconda_help_content.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/prepare_anaconda_help_content.py b/prepare_anaconda_help_content.py
index 21ad7ff..df8733a 100755
--- a/prepare_anaconda_help_content.py
+++ b/prepare_anaconda_help_content.py
@@ -79,6 +79,8 @@ for file_name in ANACONDA_HELP_FILES:
shutil.copy(origin, destination)
print("removing non breakable spaces")
+for path in glob.glob(os.path.join(OUTPUT_FOLDER, "*.ent")):
+ os.system("sed 's/ / /g' -i %s %s" % (path, path))
for path in glob.glob(os.path.join(OUTPUT_FOLDER, "*.xml")):
os.system("sed 's/ / /g' -i %s %s" % (path, path))
Show replies by date