Changeset 1231 in subversion
- Timestamp:
- Apr 2, 2008 8:08:12 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/main.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/main.inc
r1201 r1231 1378 1378 /** 1379 1379 * Replace all css definitions with #container [def] 1380 * and remove css-inlined scripting 1380 1381 * 1381 1382 * @param string CSS source code … … 1387 1388 $a_css_values = array(); 1388 1389 $last_pos = 0; 1390 1391 // ignore the whole block if evil styles are detected 1392 if (stristr($source, 'expression') || stristr($source, 'behavior')) 1393 return ''; 1389 1394 1390 1395 // cut out all contents between { and } … … 1397 1402 } 1398 1403 1399 // remove html commen ds and add #container to each tag selector.1404 // remove html comments and add #container to each tag selector. 1400 1405 // also replace body definition because we also stripped off the <body> tag 1401 1406 $styles = preg_replace(
Note: See TracChangeset
for help on using the changeset viewer.
