diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-21 15:57:10 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-21 15:57:10 +0100 |
commit | 99679d06884120c57f43b44e55e03595f1f87bed (patch) | |
tree | a3f2a1aa1afdaeca1386d0c6e8a75344fd2241fb /inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt | |
parent | 655214ab30ee84884dc408488b85586f36263fcb (diff) | |
parent | d3b47e94705e17b3ba3529cbb1dc6efe69c5d2b7 (diff) | |
download | wallabag-99679d06884120c57f43b44e55e03595f1f87bed.tar.gz wallabag-99679d06884120c57f43b44e55e03595f1f87bed.tar.zst wallabag-99679d06884120c57f43b44e55e03595f1f87bed.zip |
Merge pull request #481 from wallabag/dev1.5.2
1.5.2
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt new file mode 100644 index 00000000..baa81ae0 --- /dev/null +++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | Filter.ExtractStyleBlocks.Scope | ||
2 | TYPE: string/null | ||
3 | VERSION: 3.0.0 | ||
4 | DEFAULT: NULL | ||
5 | ALIASES: Filter.ExtractStyleBlocksScope, FilterParam.ExtractStyleBlocksScope | ||
6 | --DESCRIPTION-- | ||
7 | |||
8 | <p> | ||
9 | If you would like users to be able to define external stylesheets, but | ||
10 | only allow them to specify CSS declarations for a specific node and | ||
11 | prevent them from fiddling with other elements, use this directive. | ||
12 | It accepts any valid CSS selector, and will prepend this to any | ||
13 | CSS declaration extracted from the document. For example, if this | ||
14 | directive is set to <code>#user-content</code> and a user uses the | ||
15 | selector <code>a:hover</code>, the final selector will be | ||
16 | <code>#user-content a:hover</code>. | ||
17 | </p> | ||
18 | <p> | ||
19 | The comma shorthand may be used; consider the above example, with | ||
20 | <code>#user-content, #user-content2</code>, the final selector will | ||
21 | be <code>#user-content a:hover, #user-content2 a:hover</code>. | ||
22 | </p> | ||
23 | <p> | ||
24 | <strong>Warning:</strong> It is possible for users to bypass this measure | ||
25 | using a naughty + selector. This is a bug in CSS Tidy 1.3, not HTML | ||
26 | Purifier, and I am working to get it fixed. Until then, HTML Purifier | ||
27 | performs a basic check to prevent this. | ||
28 | </p> | ||
29 | --# vim: et sw=4 sts=4 | ||