SparkliTwizzl / petrichor

A collection of hyper-specific utilities. Part of the Trioxichor project.
Other
0 stars 0 forks source link

escaped characters in text shortcuts are handled wrong #217

Closed SparkliTwizzl closed 7 months ago

SparkliTwizzl commented 7 months ago

description

escape characters in text shortcut token values are inserted into output files instead of being trimmed

expected behavior

escaped characters in shortcuts are inserted into templates as literal text

actual behavior

escaped characters in shortcuts still have leading escape characters

steps to recreate

  1. create a Text Shortcut Script Generation input file
  2. insert a shortcut token with a value that includes an escaped character
  3. run Petrichor
  4. observe output file

first seen in version

0.11.1