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: