python-fragments 0.25__py3-none-any.whl → 0.26__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.
- fragments/grammar.py +3 -1
- {python_fragments-0.25.dist-info → python_fragments-0.26.dist-info}/METADATA +1 -1
- {python_fragments-0.25.dist-info → python_fragments-0.26.dist-info}/RECORD +6 -6
- {python_fragments-0.25.dist-info → python_fragments-0.26.dist-info}/WHEEL +0 -0
- {python_fragments-0.25.dist-info → python_fragments-0.26.dist-info}/entry_points.txt +0 -0
- {python_fragments-0.25.dist-info → python_fragments-0.26.dist-info}/top_level.txt +0 -0
fragments/grammar.py
CHANGED
|
@@ -269,7 +269,9 @@ def expect_children(source: Source) -> tuple[Source, list[ASTHTMLChild]]:
|
|
|
269
269
|
while not source.remaining().startswith("</"):
|
|
270
270
|
source, child = expect_child(source)
|
|
271
271
|
children.append(child)
|
|
272
|
-
|
|
272
|
+
source_after_whitespace, _ = source.eat_whitespace()
|
|
273
|
+
if not source_after_whitespace.remaining().startswith("{{"):
|
|
274
|
+
source = source_after_whitespace
|
|
273
275
|
return source, children
|
|
274
276
|
|
|
275
277
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
fragments/ast_nodes.py,sha256=LKj73eO04I01_po8F2vNT8yCziECt8bMS1Vfo12V70Y,19988
|
|
3
3
|
fragments/cli.py,sha256=9P9fvurRlROstWUh-tjneFt9IrVvgxcBEd3pn0wL_CE,1292
|
|
4
|
-
fragments/grammar.py,sha256=
|
|
4
|
+
fragments/grammar.py,sha256=5JzDukLFxhyxWOWUJQFzKNsfm0RTtSjF678vOLjDLW4,12887
|
|
5
5
|
fragments/loader.py,sha256=7nlsXVjCpRRmd939UJQqd9NWbE2-3ZtbO0aFfz3zCs8,980
|
|
6
6
|
fragments/source.py,sha256=cbDzLOlFy2C6xZe-ZWcroieGG-7PLTdLJi003aIdegg,1000
|
|
7
7
|
fragments/transpiler.py,sha256=O4pusCuv_Hbms2J0AP3tun-uNkXfb27RBUugr_0dIVA,316
|
|
@@ -32,8 +32,8 @@ fragments/lsp/pyright_notification_handlers/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
|
32
32
|
fragments/lsp/pyright_notification_handlers/capability.py,sha256=1xH6SttTtWKAovCfx8WeJApRI4rrVlZDGCWHtlyGTUE,868
|
|
33
33
|
fragments/lsp/pyright_notification_handlers/configuration.py,sha256=Qomq8tCVcBg15MYDPby-PeRp4kJe7k8o6-2VRAYQ0hI,1009
|
|
34
34
|
fragments/lsp/pyright_notification_handlers/diagnostics.py,sha256=n_YZ8k8PHKcpHrgmTYTU2-pKi0P_v_WC1irqtAcs_iI,1107
|
|
35
|
-
python_fragments-0.
|
|
36
|
-
python_fragments-0.
|
|
37
|
-
python_fragments-0.
|
|
38
|
-
python_fragments-0.
|
|
39
|
-
python_fragments-0.
|
|
35
|
+
python_fragments-0.26.dist-info/METADATA,sha256=3es1e7oJTxa5wcarNEWlor8W4oRTuzz3zmAOFMwBnX0,1545
|
|
36
|
+
python_fragments-0.26.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
37
|
+
python_fragments-0.26.dist-info/entry_points.txt,sha256=9xVMCpt9OucM3W3fh0UnEeErKEyI6CNIFqfQCIuGmi8,96
|
|
38
|
+
python_fragments-0.26.dist-info/top_level.txt,sha256=4r1SNnHOK3BVhAT_KgV8MRq9kiV23yK_rnuTAEl5oRg,10
|
|
39
|
+
python_fragments-0.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|