Search - User list
Full Version: HTMLParseError: malformed start tag
Root » Bugs » HTMLParseError: malformed start tag
Users can get HTMLParseError in DjangoBB if he use Python <2.7.3

IMHO this should be added to the (not existing) README.

The Problem is in HTMLParser while replacing text smilies with pictures to exclude ‘a’, ‘pre’ and ‘span’ blocks.
Example and more info here:

A work-a-round is to disable smiles support with settings.DJANGOBB_SMILES_SUPPORT = False

Other work-a-round is to change smiles() in ./djangobb_forum/ to e.g.:
def smiles(data):
    Replace text smiles.
        parser = ExcludeTagsHTMLParser(_smile_replacer)
        smiled_html = parser.html
    except HTMLParseError, err:
        smiled_html = data
    return smiled_html
So smilies would not replaced with picture, if HTMLParser can't parse the text.

EDIT: Create for this

The ScoopFree self-cleaning litter box is among one of the most popular,litterboxhub praised as well as sufficient How To Litter Train A Dog automated litter systems Best Litter Box available, as well as it is LitterBox Hub noteworthy affordable.
Besides that, your phone could get bricked in situation Click Here it accesses any kind of corrupt file during Download CreeHack Instantly for Android, iOS & Windows rooting reaches to CreeHack APK a level you aim for. Some video games CreeHack can be downloaded.

Hello. And Bye.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB