From 334e11cfa6c6c4b6231ed7f6a92648761dccad35 Mon Sep 17 00:00:00 2001 From: Thomas Schmidts Date: Wed, 15 Oct 2014 18:04:24 +0200 Subject: [PATCH] Fixed error with wrong syntax in some codes --- Documentation/Books/codeBlockReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Books/codeBlockReader.py b/Documentation/Books/codeBlockReader.py index 604b9854ba..0e40739c36 100644 --- a/Documentation/Books/codeBlockReader.py +++ b/Documentation/Books/codeBlockReader.py @@ -165,7 +165,7 @@ def fetch_comments(dirpath): for _com in comment: _text = re.sub(r"//(/)+\s*\n", "
", _com) _text = re.sub(r"///+(\s+\s+)([-\*\d])", r" \2", _text) - _text = re.sub(r"///\s*", "", _text) + _text = re.sub(r"///\s", "", _text) _text = _text.strip("\n") if _text: if not shouldIgnoreLine: