LibrePCB / librepcb-parts-generator

A collection of scripts to generate parts for the LibrePCB default library
MIT License
7 stars 14 forks source link

Automatically escape strings by StringValue entity #105

Closed ubruhin closed 1 year ago

ubruhin commented 1 year ago

Instead of escaping each string manually within the generators (mainly \n -> \\n), perform the escaping during serialization of the StringValue entity. So the generators do no longer need to know how strings need to be escaped.

ubruhin commented 1 year ago

Ping @dbrgn @rnestler :wink: