Show More
@@ -0,0 +1,41 b'' | |||||
|
1 | |RCE| 4.10.2 |RNS| | |||
|
2 | ------------------ | |||
|
3 | ||||
|
4 | Release Date | |||
|
5 | ^^^^^^^^^^^^ | |||
|
6 | ||||
|
7 | - 2017-11-08 | |||
|
8 | ||||
|
9 | ||||
|
10 | New Features | |||
|
11 | ^^^^^^^^^^^^ | |||
|
12 | ||||
|
13 | ||||
|
14 | ||||
|
15 | General | |||
|
16 | ^^^^^^^ | |||
|
17 | ||||
|
18 | ||||
|
19 | ||||
|
20 | Security | |||
|
21 | ^^^^^^^^ | |||
|
22 | ||||
|
23 | ||||
|
24 | ||||
|
25 | Performance | |||
|
26 | ^^^^^^^^^^^ | |||
|
27 | ||||
|
28 | ||||
|
29 | ||||
|
30 | Fixes | |||
|
31 | ^^^^^ | |||
|
32 | ||||
|
33 | ||||
|
34 | - helpers: support for empty descriptions and metatags. | |||
|
35 | ||||
|
36 | ||||
|
37 | ||||
|
38 | Upgrade notes | |||
|
39 | ^^^^^^^^^^^^^ | |||
|
40 | ||||
|
41 | - Changes helpers to support empty descriptions, no potential problems with upgrade. |
@@ -23,3 +23,4 b' c5a2b7d0e4bbdebc4a62d7b624befe375207b659' | |||||
23 | d9aa3b27ac9f7e78359775c75fedf7bfece232f1 v4.9.1 |
|
23 | d9aa3b27ac9f7e78359775c75fedf7bfece232f1 v4.9.1 | |
24 | 4ba4d74981cec5d6b28b158f875a2540952c2f74 v4.10.0 |
|
24 | 4ba4d74981cec5d6b28b158f875a2540952c2f74 v4.10.0 | |
25 | 0a6821cbd6b0b3c21503002f88800679fa35ab63 v4.10.1 |
|
25 | 0a6821cbd6b0b3c21503002f88800679fa35ab63 v4.10.1 | |
|
26 | 434ad90ec8d621f4416074b84f6e9ce03964defb v4.10.2 |
@@ -9,6 +9,7 b' Release Notes' | |||||
9 | .. toctree:: |
|
9 | .. toctree:: | |
10 | :maxdepth: 1 |
|
10 | :maxdepth: 1 | |
11 |
|
11 | |||
|
12 | release-notes-4.10.2.rst | |||
12 | release-notes-4.10.1.rst |
|
13 | release-notes-4.10.1.rst | |
13 | release-notes-4.10.0.rst |
|
14 | release-notes-4.10.0.rst | |
14 | release-notes-4.9.1.rst |
|
15 | release-notes-4.9.1.rst |
@@ -978,10 +978,10 b' def extract_metatags(value):' | |||||
978 | """ |
|
978 | """ | |
979 | Extract supported meta-tags from given text value |
|
979 | Extract supported meta-tags from given text value | |
980 | """ |
|
980 | """ | |
|
981 | tags = [] | |||
981 | if not value: |
|
982 | if not value: | |
982 | return '' |
|
983 | return tags, '' | |
983 |
|
984 | |||
984 | tags = [] |
|
|||
985 | for key, val in tags_paterns.items(): |
|
985 | for key, val in tags_paterns.items(): | |
986 | pat, replace_html = val |
|
986 | pat, replace_html = val | |
987 | tags.extend([(key, x.group()) for x in pat.finditer(value)]) |
|
987 | tags.extend([(key, x.group()) for x in pat.finditer(value)]) |
@@ -187,6 +187,14 b' def test_age_in_future(age_args, expecte' | |||||
187 |
|
187 | |||
188 |
|
188 | |||
189 | @pytest.mark.parametrize("sample, expected_tags", [ |
|
189 | @pytest.mark.parametrize("sample, expected_tags", [ | |
|
190 | # entry | |||
|
191 | (( | |||
|
192 | "" | |||
|
193 | ), | |||
|
194 | [ | |||
|
195 | ||||
|
196 | ]), | |||
|
197 | # entry | |||
190 | (( |
|
198 | (( | |
191 | "hello world [stale]" |
|
199 | "hello world [stale]" | |
192 | ), |
|
200 | ), |
General Comments 0
You need to be logged in to leave comments.
Login now