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

@@ -101,7 +101,7 @@ uv run yaml2pptx.py convert presentation.yaml --skip-validation
```yaml
metadata:
size: 16:9 # 或 4:3
size: "16:9" # 或 "4:3"
slides:
- background:
@@ -121,7 +121,7 @@ slides:
```yaml
metadata:
size: 16:9
size: "16:9"
slides:
- template: title-slide