Dotclear

Changeset 1099:b46e6cc8ffff for inc


Ignore:
Timestamp:
02/13/13 16:05:08 (12 years ago)
Author:
Dsls <dsls@…>
Branch:
twig
Message:

Removed escaping in template engine (escaping will need to be explicitely set in templates)
Fixed categories combo field on homepage

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/default-templates/index.html.twig

    r1088 r1099  
    4242          <div id="dashboard-contents"> 
    4343               {% for content in dashboard_contents %} 
    44                {{ content|raw }} 
     44               {{ content }} 
    4545               {% endfor %} 
    4646          </div> 
     
    9999               <div> 
    100100               {% for item in dashboard_items %} 
    101                {{ item|raw }} 
     101               {{ item }} 
    102102               {% endfor %} 
    103103               </div> 
  • inc/core/class.dc.core.php

    r1092 r1099  
    145145               array( 
    146146                    'auto_reload' => true, 
    147                     'autoescape' => 'html', 
     147                    'autoescape' => false, 
    148148                    'base_template_class' => 'Twig_Template', 
    149149                    'cache' => $cache_dir,  
Note: See TracChangeset for help on using the changeset viewer.

Sites map