Mercurial > libervia-backend
diff src/plugins/plugin_misc_text_syntaxes.py @ 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 | ddd2781bdd8c |
children | a25db3fe3959 |
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