htmy 0.3.3__py3-none-any.whl → 0.3.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of htmy might be problematic. Click here for more details.
htmy/core.py
CHANGED
|
@@ -7,6 +7,7 @@ from collections.abc import Callable, Container
|
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
from typing import TYPE_CHECKING, Any, ClassVar, Generic, TypedDict, cast, overload
|
|
9
9
|
from xml.sax.saxutils import escape as xml_escape
|
|
10
|
+
from xml.sax.saxutils import quoteattr as xml_quoteattr
|
|
10
11
|
|
|
11
12
|
from .io import open_file
|
|
12
13
|
from .typing import (
|
|
@@ -429,7 +430,7 @@ class Formatter(ContextAware):
|
|
|
429
430
|
See `SkipProperty` for more information.
|
|
430
431
|
"""
|
|
431
432
|
try:
|
|
432
|
-
return f
|
|
433
|
+
return f"{self.format_name(name)}={xml_quoteattr(self.format_value(value))}"
|
|
433
434
|
except SkipProperty:
|
|
434
435
|
return ""
|
|
435
436
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
htmy/__init__.py,sha256=My_Dmh9JNQpQekTO6CEbdbV7Ux7MD9Pz-L2M3KMZjGQ,1835
|
|
2
|
-
htmy/core.py,sha256=
|
|
2
|
+
htmy/core.py,sha256=JZNryJU1VCAVBf1wzkaa9bD3LiepT-Eu28XydfbWpOw,18735
|
|
3
3
|
htmy/etree.py,sha256=zZkKY82t5fX85unS9oHuG6KEBsJY_iz6E7SJto8lSVQ,3097
|
|
4
4
|
htmy/html.py,sha256=pxmE-KU5OgwNp6MyxOfdS0Ohpzu2RNYCeGGFlHLDGUM,20940
|
|
5
5
|
htmy/i18n.py,sha256=brNazQjObBFfbnViZCpcnxa0qgxQbJfX7xJAH-MqTW8,5124
|
|
@@ -11,7 +11,7 @@ htmy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
11
11
|
htmy/renderer.py,sha256=vIY-_IFonctEHgl6kOL3586Peve2Lz7Ly8jpf9WOlqQ,3706
|
|
12
12
|
htmy/typing.py,sha256=iUZQjMU-DHMV1Mv-ugW26eSPlrFO-KVhWfkLod7dig4,2937
|
|
13
13
|
htmy/utils.py,sha256=7_CyA39l2m6jzDqparPKkKgRB2wiGuBZXbiPgiZOXKA,1093
|
|
14
|
-
htmy-0.3.
|
|
15
|
-
htmy-0.3.
|
|
16
|
-
htmy-0.3.
|
|
17
|
-
htmy-0.3.
|
|
14
|
+
htmy-0.3.4.dist-info/LICENSE,sha256=rFtoGU_3c_rlacXgOZapTHfMErN-JFPT5Bq_col4bqI,1067
|
|
15
|
+
htmy-0.3.4.dist-info/METADATA,sha256=s8IFUXIMHud6NGVkr3EFDMl2ufcVNmK33njY-P5ra3U,16261
|
|
16
|
+
htmy-0.3.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
17
|
+
htmy-0.3.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|