Describe the bug
I am dealing with an issue where custom tags with a blank like leads to nonsense yaml being produced.
- type: entity
components:
- type: InstantAction
event: !type:CritSuccumbEvent
-------------------------
- type: entity
components:
- type: InstantAction
event:
<--- these two \n are the issue
!type:CritSuccumbEvent
To Reproduce
I made a little test script to show the behavior, the expectation would be that input and output are the same.
https://gist.github.com/Pachat-Kas/c3816a67a3f21703e882ef9f5862bb07
Expected behaviour
The test script should produce the same intput as the output.
Versions:
- Environment: [node v23.9.0]
yaml: [2.9.0]
Additional context
I found some similar looking issues but on closer inspection they weren't related.
Describe the bug
I am dealing with an issue where custom tags with a blank like leads to nonsense yaml being produced.
To Reproduce
I made a little test script to show the behavior, the expectation would be that input and output are the same.
https://gist.github.com/Pachat-Kas/c3816a67a3f21703e882ef9f5862bb07
Expected behaviour
The test script should produce the same intput as the output.
Versions:
yaml: [2.9.0]Additional context
I found some similar looking issues but on closer inspection they weren't related.