changeset 699:e819630c6737

plugin text syntaxes: fixed bad parameter order for getParamA
author Goffi <goffi@goffi.org>
date Wed, 13 Nov 2013 14:00:07 +0100
parents d731ae066158
children ab9620029aa8
files src/plugins/plugin_misc_text_syntaxes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_syntaxes.py	Wed Nov 13 13:58:10 2013 +0100
+++ b/src/plugins/plugin_misc_text_syntaxes.py	Wed Nov 13 14:00:07 2013 +0100
@@ -127,7 +127,7 @@
         @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