aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/helloworld.qtpl2
-rw-r--r--templates/helloworld.qtpl.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/helloworld.qtpl b/templates/helloworld.qtpl
index 02c0968..66287ea 100644
--- a/templates/helloworld.qtpl
+++ b/templates/helloworld.qtpl
@@ -9,7 +9,7 @@ type HelloPage struct {
{% func (p *HelloPage) Content() %}
HelloWorld
-{%s p.Body %}
+{%s= p.Body %}
{% endfunc %}
{% func (p *HelloPage) Script() %}
diff --git a/templates/helloworld.qtpl.go b/templates/helloworld.qtpl.go
index 9ef78f5..a12455f 100644
--- a/templates/helloworld.qtpl.go
+++ b/templates/helloworld.qtpl.go
@@ -63,7 +63,7 @@ HelloWorld
`)
//line helloworld.qtpl:12
- qw422016.E().S(p.Body)
+ qw422016.N().S(p.Body)
//line helloworld.qtpl:12
qw422016.N().S(`
`)