From f1521f17c2148aa2c0a98a7ea3b8dff471aa737a Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 13 Nov 2013 14:00:07 +0100 Subject: [PATCH] plugin text syntaxes: fixed bad parameter order for getParamA --- src/plugins/plugin_misc_text_syntaxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_misc_text_syntaxes.py b/src/plugins/plugin_misc_text_syntaxes.py index 011ddb2c..0bf8cc91 100755 --- a/src/plugins/plugin_misc_text_syntaxes.py +++ b/src/plugins/plugin_misc_text_syntaxes.py @@ -127,7 +127,7 @@ class TextSyntaxes(object): @param profile: %(doc_profile)s @return: profile selected syntax """ - return self.host.memory.getParamA(CATEGORY, NAME , profile_key=profile) + return self.host.memory.getParamA(NAME, CATEGORY , profile_key=profile) def clean_xhtml(self, xhtml): """ Clean XHTML text by removing potentially dangerous/malicious parts