To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4003 for sandboxes

Show
Ignore:
Timestamp:
07/25/11 16:52:24 (10 months ago)
Author:
johnnyoffline
Message:

commented out the allowed_tags allowed_attributes allowed_styles parameters bundled in app.yml so the sandbox shows up to the party with strict cleaning in effect.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandboxes/asandbox/branches/1.5/apps/frontend/config/app.yml

    r3973 r4003  
    283283      - 'aPage' 
    284284      - 'aMediaItem' 
    285     allowed_tags: [h3, h4, h5, h6, blockquote, p, a, ul, ol, nl, li, b, i, strong, em, strike, code, hr, br, div, table, thead, caption, tbody, tfoot, tr, th, td, pre, dl, dd, dt] 
    286     allowed_attributes: 
    287       a: [ href, name, target, class, style ] 
    288       img: [ src, class, style ] 
    289       th: [ colspan, style, width ] 
    290       td: [ colspan, style, width ] 
    291       table: [ align, class, style, width ] 
    292       ul: [ class, style, type ] 
    293       ol: [ class, style, start, type ] 
    294       blockquote: [ class, style ] 
    295       p: [ class, style ] 
    296     allowed_styles: 
    297       a: [ 'margin', 'margin-left', 'margin-right' ] 
    298       img: [ 'margin', 'margin-left', 'margin-right' ] 
    299       td: [ 'margin', 'margin-left', 'margin-right' ] 
    300       table: [ 'margin', 'margin-left', 'margin-right', 'width' ] 
    301       ul: [ 'margin', 'margin-left', 'margin-right', 'list-style-type' ] 
    302       ol: [ 'margin', 'margin-left', 'margin-right', 'list-style-type' ] 
    303       blockquote: [ 'margin', 'margin-left', 'margin-right' ] 
    304       p: [ 'margin', 'margin-left', 'margin-right' ] 
     285    # RichText is passed through a clean-up method that accepts parameters for cleaning Tags, Attributes, and Styles per tag 
     286    # Example declarations exist below. Take care when enabling these parameters 
     287    # allowed_tags: [h3, h4, h5, h6, blockquote, p, a, ul, ol, nl, li, b, i, strong, em, strike, code, hr, br, div, table, thead, caption, tbody, tfoot, tr, th, td, pre, dl, dd, dt] 
     288    # allowed_attributes: 
     289    #   a: [ href, name, target, class, style ] 
     290    #   img: [ src, class, style ] 
     291    #   th: [ colspan, style, width ] 
     292    #   td: [ colspan, style, width ] 
     293    #   table: [ align, class, style, width ] 
     294    #   ul: [ class, style, type ] 
     295    #   ol: [ class, style, start, type ] 
     296    #   blockquote: [ class, style ] 
     297    #   p: [ class, style ] 
     298    # allowed_styles: 
     299    #   a: [ 'margin', 'margin-left', 'margin-right' ] 
     300    #   img: [ 'margin', 'margin-left', 'margin-right' ] 
     301    #   td: [ 'margin', 'margin-left', 'margin-right' ] 
     302    #   table: [ 'margin', 'margin-left', 'margin-right', 'width' ] 
     303    #   ul: [ 'margin', 'margin-left', 'margin-right', 'list-style-type' ] 
     304    #   ol: [ 'margin', 'margin-left', 'margin-right', 'list-style-type' ] 
     305    #   blockquote: [ 'margin', 'margin-left', 'margin-right' ] 
     306    #   p: [ 'margin', 'margin-left', 'margin-right' ] 
    305307 
    306308  # options for sfSyncContentPlugin, used to sync the database and also