class documentation

class HtmlBlockPreprocessor(Preprocessor): (source)

View In Hierarchy

Remove html blocks from the text and store them for later retrieval.

Method run Each subclass of Preprocessor should override the `run` method, which takes the document as a list of strings split by newlines and returns the (possibly modified) list of lines.

Inherited from Processor (via Preprocessor):

Method __init__ Undocumented
Instance Variable md Undocumented
def run(self, lines): (source)

Each subclass of Preprocessor should override the `run` method, which takes the document as a list of strings split by newlines and returns the (possibly modified) list of lines.