comparison 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
comparison
equal deleted inserted replaced
698:d731ae066158 699:e819630c6737
125 """ Return the selected syntax for the given profile 125 """ Return the selected syntax for the given profile
126 126
127 @param profile: %(doc_profile)s 127 @param profile: %(doc_profile)s
128 @return: profile selected syntax 128 @return: profile selected syntax
129 """ 129 """
130 return self.host.memory.getParamA(CATEGORY, NAME , profile_key=profile) 130 return self.host.memory.getParamA(NAME, CATEGORY , profile_key=profile)
131 131
132 def clean_xhtml(self, xhtml): 132 def clean_xhtml(self, xhtml):
133 """ Clean XHTML text by removing potentially dangerous/malicious parts 133 """ Clean XHTML text by removing potentially dangerous/malicious parts
134 @param xhtml: raw xhtml text to clean 134 @param xhtml: raw xhtml text to clean
135 """ 135 """