Ignore:
Timestamp:
28 Aug 2015, 07:49:07 (9 years ago)
Author:
Henrik Bettermann
Message:

Forbid style and script elements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r13218 r13235  
    2929from waeup.kofa.schema import TextLineChoice, FormattedDate
    3030from waeup.kofa.interfaces import (
    31     IKofaObject, validate_email,
     31    IKofaObject, validate_email, validate_html,
    3232    SimpleKofaVocabulary)
    3333from waeup.kofa.interfaces import MessageFactory as _
     
    177177        title = _(u'Human readable description in HTML format'),
    178178        required = False,
     179        constraint=validate_html,
    179180        default = u'''This text can been seen by anonymous users.
    180181Here we put multi-lingual general information about the application procedure.
     
    243244        title = _(u'Human readable description in HTML format'),
    244245        required = False,
     246        constraint=validate_html,
    245247        default = u'''This text can been seen by anonymous users.
    246248Here we put multi-lingual information about the study courses provided, the application procedure and deadlines.
     
    277279        title = _(u'Human readable notice on application slip in HTML format'),
    278280        required = False,
    279         )
    280 
     281        constraint=validate_html,
     282        )
    281283
    282284    hidden= schema.Bool(
Note: See TracChangeset for help on using the changeset viewer.