From a64dd02118630365cf55a4e8dd90429f1ef49a0f Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Feb 2014 01:11:57 +0100 Subject: Remove the dependency on poezio from xhtml.py --- plugins/simple_notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py index a44a6902..f08fa259 100644 --- a/plugins/simple_notify.py +++ b/plugins/simple_notify.py @@ -65,7 +65,7 @@ Options defined """ from plugin import BasePlugin -from xhtml import clean_text, get_body_from_message_stanza +from xhtml import get_body_from_message_stanza from timed_events import DelayedEvent import shlex @@ -88,7 +88,7 @@ class Plugin(BasePlugin): self.do_notify(message, fro) def do_notify(self, message, fro): - body = clean_text(get_body_from_message_stanza(message)) + body = get_body_from_message_stanza(message, use_xhtml=False) if not body: return command_str = self.config.get('command', '').strip() -- cgit v1.2.3