We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcf43ba commit f01f978Copy full SHA for f01f978
MCInfo/plugin.py
@@ -53,7 +53,10 @@
53
mcwiki_url = 'http://minecraft.gamepedia.com'
54
55
def format_text(text):
56
- return utils.str.normalizeWhitespace(text).strip()
+ text = text.replace('\xa0', '')
57
+ text = utils.str.normalizeWhitespace(text)
58
+ text = text.strip()
59
+ return text
60
61
class MCInfo(callbacks.Plugin):
62
"""Fetches crafting recipes and other interesting information from the Minecraft Wiki."""
0 commit comments