Skip to Content
Menu
This question has been flagged
1 Reply
5529 Views

How to render comments from QWeb template to the page of website?
That page contain like:

<!-- BlaBlaBla -->

Avatar
Discard
Author Best Answer

After some experiment I found solution:

<t t-set="start_comment">&lt;!--</t>

<t t-set="end_comment">--&gt;</t>

<t t-raw="start_comment"></t>BlaBlaBla<t t-raw="end_comment"></t>

<t t-raw="start_comment"></t>BlaBlaBla<t t-raw="end_comment"></t>

Will render:

<!--BlaBlaBla-->

<!--BlaBlaBla-->

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 19
8010
0
Dec 24
584
0
Dec 24
526
2
Jul 24
1964
2
Mar 22
11257