Warning, /webapps/ocs-apiserver/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt is written in an unsupported language. File is not indexed.
0001 Filter.ExtractStyleBlocks.Scope 0002 TYPE: string/null 0003 VERSION: 3.0.0 0004 DEFAULT: NULL 0005 ALIASES: Filter.ExtractStyleBlocksScope, FilterParam.ExtractStyleBlocksScope 0006 --DESCRIPTION-- 0007 0008 <p> 0009 If you would like users to be able to define external stylesheets, but 0010 only allow them to specify CSS declarations for a specific node and 0011 prevent them from fiddling with other elements, use this directive. 0012 It accepts any valid CSS selector, and will prepend this to any 0013 CSS declaration extracted from the document. For example, if this 0014 directive is set to <code>#user-content</code> and a user uses the 0015 selector <code>a:hover</code>, the final selector will be 0016 <code>#user-content a:hover</code>. 0017 </p> 0018 <p> 0019 The comma shorthand may be used; consider the above example, with 0020 <code>#user-content, #user-content2</code>, the final selector will 0021 be <code>#user-content a:hover, #user-content2 a:hover</code>. 0022 </p> 0023 <p> 0024 <strong>Warning:</strong> It is possible for users to bypass this measure 0025 using a naughty + selector. This is a bug in CSS Tidy 1.3, not HTML 0026 Purifier, and I am working to get it fixed. Until then, HTML Purifier 0027 performs a basic check to prevent this. 0028 </p> 0029 --# vim: et sw=4 sts=4