Skip to content

Commit e23b560

Browse files
authored
Merge pull request #5938 from dojutsu-user/improve-parse-json
Small improvement in parse_json
2 parents acafa71 + 06c9e1c commit e23b560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/search/parse_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ def parse_content(content):
106106
content = content[1:]
107107

108108
# converting newlines to ". "
109-
content = '. '.join([text.strip() for text in content])
109+
content = '. '.join([text.strip().rstrip('.') for text in content])
110110
return content

0 commit comments

Comments
 (0)