yamlfix
yamlfix copied to clipboard
`#` inside quote should be preseved
Description
Hash inside quote should not be modified
Steps to reproduce
Create a file tmp1.yaml
with the following
- "key #1": "value #2"
Run yamlfix on this file
Current behavior
---
- "key # 1: "value # 2"
This modification should not have happened.
Desired behavior
Hash inside quotes should remain unchanged.
Environment
yamlfix: 1.16.0
Python: 3.12.3
Platform: macOS-14.5-arm64-arm-64bit