plugin text syntaxes: fixed bad parameter order for getParamA

This commit is contained in:
Goffi 2013-11-13 14:00:07 +01:00
commit f1521f17c2

View file

@ -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