Forum
rmmetzen2009-10-22 04:22:11
I've run into a problem with nesting templates. If I include an HTML template in a text template, Quicktext (version 0.9.9.9) doesn't go into HTML mode and instead inserts the HTML code of the second template.

Here's a simple test case:

template-1 (Insert as: Text)

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

[[TEXT=Test|template-2]]

Suspendisse fringilla cursus justo, nec condimentum nisi dignissim vitae?


template-2 (Insert as: HTML)

<ul>
<li>Nunc dictum, tellus non cursus adipiscing, ...</li>
<li>Donec quis metus vitae metus sodales gravida.</li>
</ul>


template-2 works fine on its own, but when I use it as part of template-1 as above, the result that gets inserted into the email is:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

<ul>
<li>Nunc dictum, tellus non cursus adipiscing, ...</li>
<li>Donec quis metus vitae metus sodales gravida.</li>
</ul>

Suspendisse fringilla cursus justo, nec condimentum nisi dignissim vitae?


Any chance that this behavior may be changed in a future version? Is there a workaround I can use until then (other than converting all my templates to HTML, which would be a major pain in the neck)?
WizKid2009-10-24 22:53:31
Unfortunately not. I need to either put the data into Thunderbird as HTML or text. When nestling templates I put templates into templates but the result I need to either put in as text or HTML.
rmmetzen2009-10-27 03:22:17
Thank you! Not quite the answer I had hoped for, but I understand the limitations you're facing there. So, looks like I need to convert my templates to HTML after all.
1
Create post
You need to login before posting in the forum