#NEWLINE# def saveTemplateText( self , html ) : #NEWLINE# #INDENT# '\n        Save the text. This method can be overridden to use a\n        different save method. The default is to POST to the template\n        save URL, passing a single parameter "content" with the html\n        string.\n\n        To change the target of the POST, override getTemplateSaveUrl().\n\n        To preprocess the html, override this method in a subclass and\n        perform processing there.\n        ' #NEWLINE# HTTPRequest ( ) . asyncPost ( self . getTemplateSaveUrl ( self . templateName ) , ( 'content=' + encodeURIComponent ( self ) ) , ContentSaveHandler ( self ) )