1
0

fix: use quoted strings for size values in YAML to prevent time parsing

YAML parser interprets 16:9 as time format (16h 9m = 969s).
Using quoted strings "16:9" ensures correct string parsing.
This commit is contained in:
2026-03-02 23:50:31 +08:00
parent ab2510a400
commit f273cef195
23 changed files with 55 additions and 55 deletions

View File

@@ -65,7 +65,7 @@ class TestPresentationSize:
"""测试 16:9 尺寸"""
yaml_content = """
metadata:
size: 16:9
size: "16:9"
slides:
- elements: []
"""
@@ -80,7 +80,7 @@ slides:
"""测试 4:3 尺寸"""
yaml_content = """
metadata:
size: 4:3
size: "4:3"
slides:
- elements: []
"""