Changeset a3e5b42 in github
- Timestamp:
- Apr 2, 2008 8:08:12 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 5ec1132
- Parents:
- 1affe9e
- File:
-
- 1 edited
-
program/include/main.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/main.inc
r0c6f4b8 ra3e5b42 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.
