pycrossword  0.2
Pure-Python implementation of a crossword puzzle generator and editor
Public Member Functions | Public Attributes | List of all members
pycross.crossword.MLStripper Class Reference

Utility class that converts HTML text to plain text. More...

Inheritance diagram for pycross.crossword.MLStripper:

Public Member Functions

def __init__ (self)
 
def handle_data (self, d)
 
def get_data (self)
 
def strip (self, text)
 

Public Attributes

 strict
 
 convert_charrefs
 
 fed
 

Detailed Description

Utility class that converts HTML text to plain text.

Found solution here: https://stackoverflow.com/questions/753052/strip-html-from-strings-in-python

Constructor & Destructor Documentation

◆ __init__()

def pycross.crossword.MLStripper.__init__ (   self)

Member Function Documentation

◆ get_data()

def pycross.crossword.MLStripper.get_data (   self)

◆ handle_data()

def pycross.crossword.MLStripper.handle_data (   self,
  d 
)

◆ strip()

def pycross.crossword.MLStripper.strip (   self,
  text 
)

Member Data Documentation

◆ convert_charrefs

pycross.crossword.MLStripper.convert_charrefs

◆ fed

pycross.crossword.MLStripper.fed

◆ strict

pycross.crossword.MLStripper.strict

The documentation for this class was generated from the following file: