tag:help.lighthouseapp.com,2008-09-20:/discussions/problems/248-embedded-xml-in-commentsLighthouse: Discussion 2012-06-29T22:05:03Ztag:help.lighthouseapp.com,2008-09-20:Comment/180132008-11-26T02:48:31Z2009-06-20T20:06:17ZEmbedded XML in comments<div><p>My application uses XML to store user data. In a bug reporting a
corrupted file I tried to paste the XML, but it only rendered
partially. Surrounding it in</p>
<pre>
tags did... weird things. I've included it below (assuming you can see the actual text, and not just the rendered version which I presume will be broken here as well.
<br>
<?xml version="1.0" encoding="iso-8859-1"?>
Launchpad prototype 2
<start_date>2008-11-25 16:26:35</start_date>
<due_date>2008-12-01 23:59:59</due_date>
<project_ref id="9b870e95-09e8-4d38-b736-d36b95465ed5"></project_ref>
</pre></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/180132008-11-26T03:20:18Z2009-06-20T20:06:17ZEmbedded XML in comments<div><p>So there appear to be several solutions to this, none of which
quite right.</p>
<p><code>backticks remove all the newlines in my xml... not quite
right</code></p>
<pre>
<code>four spaces work... but they are a major pain for more than say 3 lines of text</code>
</pre>
<p>@@@ I saw these later, but haven't tried them yet. What would be
the proper way to handle this type of preformatted text?</p></div>darrentag:help.lighthouseapp.com,2008-09-20:Comment/180132008-11-26T03:37:30Z2009-06-20T20:06:18ZEmbedded XML in comments<div><p>Use the @@@ tag. You can get simple syntax highlighting with
<code>@@@ html</code></p>
<pre>
<code class=
"html"><start_date>2008-11-25 16:26:35</start_date>
<due_date>2008-12-01 23:59:59</due_date></code>
</pre>
<p>I don't think syntax highlighting in Tender is quite hooked up,
but this should work in Lighthouse.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/180132008-11-26T04:49:50Z2009-06-20T20:06:18ZEmbedded XML in comments<div><p>Thanks</p>
<pre>
<code>@@@ html
@@@</code>
</pre>
<p>is the key, much appreciated.</p></div>darren