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/documents/interfaces.py

    r13167 r13235  
    1919from zope import schema
    2020from waeup.kofa.interfaces import (
    21     IKofaObject, validate_id,
     21    IKofaObject, validate_id, validate_html,
    2222    ContextualDictSourceFactoryBase)
    2323from waeup.kofa.interfaces import MessageFactory as _
     
    8282        title = _(u'Multilingual content in HTML format'),
    8383        required = False,
     84        constraint=validate_html,
    8485        )
    8586
Note: See TracChangeset for help on using the changeset viewer.