Created
August 18, 2018 19:28
-
-
Save sleduc/f373e37d2b46a7a52ac4ce073cd27309 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/xhtml/__init__.py b/xhtml/__init__.py | |
| index 9310d47..645a31a 100644 | |
| --- a/xhtml/__init__.py | |
| +++ b/xhtml/__init__.py | |
| @@ -17,6 +17,6 @@ class CmdXhtml(SyncModule): | |
| @defaultcmd | |
| def answer(self, sender, message): | |
| d = {} | |
| - d["text"] = message | |
| - d["xhtml"] = pipobot.lib.utils.xhtml2text(message) | |
| + d["xhtml"] = message | |
| + d["text"] = pipobot.lib.utils.xhtml2text(message) | |
| return d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment