Skip to content

Commit 701d058

Browse files
committed
Merge branch 'upstream_master' into dev
2 parents 3290372 + 19cfd27 commit 701d058

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ColorHelper
22

3+
## 4.3.1
4+
5+
- **NEW**: Upgrade underlying `coloraide` library to fix a color parsing
6+
bug.
7+
38
## 4.3.0
49

510
- **NEW**: Upgrade `coloraide`, along with various improvements brings

docs/src/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mkdocs_pymdownx_material_extras>=1.6
1+
mkdocs_pymdownx_material_extras>=2.0
22
mkdocs-git-revision-date-localized-plugin
33
mkdocs-minify-plugin
44
pyspelling

lib/coloraide/__meta__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@ def parse_version(ver: str) -> Version:
192192
return Version(major, minor, micro, release, pre, post, dev)
193193

194194

195-
__version_info__ = Version(0, 15, 0, "final", post=1)
195+
__version_info__ = Version(0, 15, 1, "final")
196196
__version__ = __version_info__._get_canonical()

lib/coloraide/css/parse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ def parse_css(
342342
if value is not None:
343343
return (value[:3], value[3]), m.end(0)
344344
else:
345-
return parse_rgb_channels(string[m.end(1) + 1:m.end(0) - 1], cspace.BOUNDS), m.end(0)
345+
offset = m.start(0)
346+
return parse_rgb_channels(string[m.end(1) - offset + 1:m.end(0) - offset - 1], cspace.BOUNDS), m.end(0)
346347
else:
347348
m = CSS_MATCH[cspace.NAME].match(string, start)
348349
if m is not None and (not fullmatch or m.end(0) == len(string)):

mkdocs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ markdown_extensions:
6060
- pymdownx.superfences:
6161
- pymdownx.highlight:
6262
extend_pygments_lang:
63-
- name: php-inline
64-
lang: php
65-
options:
66-
startinline: true
6763
- name: pycon3
6864
lang: pycon
6965
options:

support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import webbrowser
66
import re
77

8-
__version__ = "4.3.0"
8+
__version__ = "4.3.1"
99
__pc_name__ = 'ColorHelper'
1010

1111
CSS = '''

0 commit comments

Comments
 (0)