Browse Source

Typo fix.

tags/v0.2
Ben Kurtovic 9 years ago
parent
commit
e99e1c1ef1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/parsers.py

+ 1
- 1
earwigbot/wiki/copyvios/parsers.py View File

@@ -110,7 +110,7 @@ class ArticleTextParser(_BaseTextParser):
remove(wikicode, tag) remove(wikicode, tag)


# Merge in template contents when the values are long: # Merge in template contents when the values are long:
self._merge_templates(code)
self._merge_templates(wikicode)


clean = wikicode.strip_code(normalize=True, collapse=True) clean = wikicode.strip_code(normalize=True, collapse=True)
self.clean = re.sub("\n\n+", "\n", clean).strip() self.clean = re.sub("\n\n+", "\n", clean).strip()


Loading…
Cancel
Save