diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-16 13:56:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-16 13:57:26 +0200 |
commit | d6f12190c0d953dd3090153a45ecdd10f01cd9c3 (patch) | |
tree | 722a7e55f34c6b457cad213464ca8a9372044db3 /src/templating/test3 | |
parent | 1e2fdea5a977a9fdbb7bcc0632d9fb1c8ef82987 (diff) |
-move templating library into exchange.git
Diffstat (limited to 'src/templating/test3')
-rw-r--r-- | src/templating/test3/.gitignore | 2 | ||||
-rw-r--r-- | src/templating/test3/json | 7 | ||||
-rw-r--r-- | src/templating/test3/must | 15 | ||||
-rw-r--r-- | src/templating/test3/resu.ref | 15 |
4 files changed, 39 insertions, 0 deletions
diff --git a/src/templating/test3/.gitignore b/src/templating/test3/.gitignore new file mode 100644 index 000000000..4d897daa0 --- /dev/null +++ b/src/templating/test3/.gitignore @@ -0,0 +1,2 @@ +resu.last +vg.last diff --git a/src/templating/test3/json b/src/templating/test3/json new file mode 100644 index 000000000..792788171 --- /dev/null +++ b/src/templating/test3/json @@ -0,0 +1,7 @@ +{ + "name": "Chris", + "company": "<b>GitHub & Co</b>", + "names": ["Chris", "Kross"], + "skills": ["JavaScript", "PHP", "Java"], + "age": 18 +} diff --git a/src/templating/test3/must b/src/templating/test3/must new file mode 100644 index 000000000..5c490469b --- /dev/null +++ b/src/templating/test3/must @@ -0,0 +1,15 @@ +* {{name}} +* {{age}} +* {{company}} +* {{&company}} +* {{{company}}} +{{=<% %>=}} +* <%company%> +* <%&company%> +* <%{company}%> + +<%={{ }}=%> +* <ul>{{#names}}<li>{{.}}</li>{{/names}}</ul> +* skills: <ul>{{#skills}}<li>{{.}}</li>{{/skills}}</ul> +{{#age}}* age: {{.}}{{/age}} + diff --git a/src/templating/test3/resu.ref b/src/templating/test3/resu.ref new file mode 100644 index 000000000..e89ce9022 --- /dev/null +++ b/src/templating/test3/resu.ref @@ -0,0 +1,15 @@ +* Chris +* 18 +* <b>GitHub & Co</b> +* <b>GitHub & Co</b> +* <b>GitHub & Co</b> + +* <b>GitHub & Co</b> +* <b>GitHub & Co</b> +* <b>GitHub & Co</b> + + +* <ul><li>Chris</li><li>Kross</li></ul> +* skills: <ul><li>JavaScript</li><li>PHP</li><li>Java</li></ul> +* age: 18 + |