yamlfix icon indicating copy to clipboard operation
yamlfix copied to clipboard

`#` inside quote should be preseved

Open ashishb opened this issue 7 months ago • 0 comments

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

ashishb avatar Jul 12 '24 02:07 ashishb