mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-07 12:05:41 +00:00
Improve docstring
This commit is contained in:
parent
e05de76bad
commit
b563da585e
@ -202,7 +202,7 @@ def to_data_uri(filename, mime_type=None):
|
|||||||
|
|
||||||
|
|
||||||
def embed_css_resources(css, filename):
|
def embed_css_resources(css, filename):
|
||||||
"""Replace url(<path>) with url(data:<mime_type>;base64, ...)
|
"""Replace `url(<path>)` with `url(data:<mime_type>;base64, ...)`
|
||||||
|
|
||||||
Also, handle @import."""
|
Also, handle @import."""
|
||||||
# This uses some heuristics which will fail in general.
|
# This uses some heuristics which will fail in general.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user