(self, html, safe=False)
return placeholder
Saves an HTML segment for later reinsertion.  Returns a
        placeholder string that needs to be inserted into the
        document.

        Keyword arguments:

        * html: an html segment
        * safe: label an html segment as safe for safemode

        Returns : a placeholder string
Saves an HTML segment for later reinsertion.  Returns a
        placeholder string that needs to be inserted into the
        document.
Saves an HTML segment for later reinsertion . Returns a placeholder string that needs to be inserted into the document .
def store(self, html, safe=False):
        """
        Saves an HTML segment for later reinsertion.  Returns a
        placeholder string that needs to be inserted into the
        document.

        Keyword arguments:

        * html: an html segment
        * safe: label an html segment as safe for safemode

        Returns : a placeholder string

        """
        self.rawHtmlBlocks.append((html, safe))
        placeholder = self.get_placeholder(self.html_counter)
        self.html_counter += 1
        return placeholder
def store ( self , html , safe = False ) : self . rawHtmlBlocks . append ( ( html , safe ) ) placeholder = self . get_placeholder ( self . html_counter ) self . html_counter += 1 return placeholder