Adam Fowler
40ef59c897
Allow for space after value in {{%var:value}}
2021-03-23 17:45:17 +00:00
Adam Fowler
d3edef1b8e
Add support for custom text escaping ( #11 )
...
* Add support for custom text escaping
* swift format
* Remove withDefaultDelimiters
* Update README.md
* Don't pass content type into partial
2021-03-23 17:36:28 +00:00
Adam Fowler
c21651ce50
method -> transform
2021-03-22 12:11:22 +00:00
Adam Fowler
35d52603e2
Template inheritance ( #9 )
...
* Move all context variables into HBMustacheContext
* Add support for reading inherited sections
* Render inherited tokens
* Test inheritance spec, fix two minor issues
* fix warning
* swift format
2021-03-22 12:02:22 +00:00
Adam Fowler
a08b1e8087
Swift format, swift 5.3
2021-03-21 11:56:08 +00:00
Adam Fowler
3c50d1c15c
comments
2021-03-19 17:49:02 +00:00
Adam Fowler
05740bd7bc
Replace raw UTF8 parser with String parser ( #6 )
...
* Replace UTF8 parser with String based one
* swift format
* Add parsing errors that include context about where error is
* Remove old error tests
2021-03-18 17:26:42 +00:00
Adam Fowler
0ff5038162
End sections includes method
2021-03-18 15:33:47 +00:00
Adam Fowler
b637c4c4a4
Tidy standalone processing
2021-03-18 12:58:48 +00:00
Adam Fowler
751126d729
Add support for Set Delimiters ( #5 )
...
* Added ParserState
* Add support for setting delimiters
* Add spec tests for setting delimiters
* swift format
2021-03-18 12:43:36 +00:00
Adam Fowler
9b17bd6827
Render optimisation
2021-03-18 10:55:55 +00:00
Adam Fowler
c560bd0fd9
swift format
2021-03-18 10:34:52 +00:00
Adam Fowler
169a7bbbf4
Added SpecPartialsTests and fixed issues
2021-03-17 18:30:55 +00:00
Adam Fowler
b4d6a518c7
Fixed all issues found in spec so far
...
parse has got quite complex might look to simplify
2021-03-17 17:02:59 +00:00
Adam Fowler
2d96ca34d8
Add fix for ampersand
2021-03-15 20:34:48 +00:00
Adam Fowler
a76a02a8dc
Add Comment spec
2021-03-15 18:57:55 +00:00
Adam Fowler
66edcba185
swift format
2021-03-15 18:24:06 +00:00
Adam Fowler
e391f5ae05
Comments
2021-03-15 15:09:16 +00:00
Adam Fowler
8df4e63432
Add methods for Array and Dictionary
2021-03-12 17:37:25 +00:00
Adam Fowler
c9e33153f3
Basic method setup and calling
2021-03-12 14:03:46 +00:00
Adam Fowler
6be7a382fb
Added error tests
2021-03-12 10:14:17 +00:00
Adam Fowler
fc53f09dfb
Add library and support for partials
2021-03-12 08:41:13 +00:00
Adam Fowler
7f61c8dd72
HBTemplate -> HBMustacheTemplate, escape characters
...
Add tests for mustache examples
2021-03-12 07:43:09 +00:00
Adam Fowler
9cbe74f9ee
Load templates and render objects
2021-03-11 16:58:49 +00:00