view website/issues/detectors/no_texthtml.py @ 6507:bc95f7431efb

Remove miscommited issue directory; AboutPage fix; aria for drag/drop Removed issues/extensions, should not have been committed. Was deployed testing directory for website/issues. Added missing list() for dict keys in AboutPage. Added aria-labeledby to drag and drop textarea to improve accessibility.
author John Rouillard <rouilj@ieee.org>
date Fri, 08 Oct 2021 00:35:09 -0400
parents 0942fe89e82e
children
line wrap: on
line source


def audit_html_files(db, cl, nodeid, newvalues):
    if 'type' in newvalues and newvalues['type'] == 'text/html':
        newvalues['type'] = 'text/plain'
    

def init(db):
    db.file.audit('set', audit_html_files)
    db.file.audit('create', audit_html_files)

Roundup Issue Tracker: http://roundup-tracker.org/