budibase/packages/string-templates/src
Peter Clement c417a5e627
Replace multiple spaces in bindings with one space (#14018)
* replace multiple spaces in bindings with one space

* add some tests and update regex to account for strings

* update regex to character based approach

* simplify regex to only look for spaces after {{

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-06-28 14:18:15 +01:00
..
conversion Remove any 2024-03-15 16:56:53 +01:00
helpers Quick fix for using the roles option within the builder - this was broken in JS which was a bit of a pain - this works properly now and allows more compat between HBS and JS. 2024-06-05 11:58:40 +01:00
processors Replace multiple spaces in bindings with one space (#14018) 2024-06-28 14:18:15 +01:00
errors.ts Fix ts 2024-03-14 17:17:10 +01:00
iife.ts Merge branch 'master' into chore/stringtemplates-to-esm 2024-03-15 13:22:50 +01:00
index.ts Adding edge case handling to the binding readable/runtime conversion, checking if it is trying to replace a binding which a substring of a helper name, which causes the helper to become un-usable. 2024-04-19 16:40:45 +01:00
manifest.json Move manifest.json 2024-03-14 17:50:17 +01:00
types.ts Fix typings 2024-03-14 17:17:38 +01:00
utilities.ts Fix ts 2024-03-14 17:17:10 +01:00