Repository navigation
Template substitution fix. Values passed to
render(substituting:prettyPrint:) are now encoded the same way as values
passed to an element's initializer. No API changes. Output changes only where a
value needs escaping or lands in a field that handles it specially.
Fixed
- A substituted value containing
_,^,~, a control character or any
non-ASCII text printed as literal escape codes (AB_12came out as
AB_5F12,JürgenasJ_C3_BCrgen), in text and inside barcodes alike,
because the field never switched into^FHhex mode. The affected field now
does, and the label selects^CI28when a value is non-ASCII. - A newline substituted into a
TextBlockis now a line break, and a backslash
prints as a backslash. - A comma substituted into a
SerialNumberis stripped, as the initializer
already did, so it can no longer shift the^SNparameters. - A literal
{{earlier in a label no longer stops a later placeholder from
being substituted, and{{{name}}}now substitutes inside the outer braces.