Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389828

Summary: Markdown quoted raw code syntax not correctly interpreted
Product: [Tools] LDT Reporter: Marc Aubry <marc.aubry42>
Component: LuaDevelopmentToolsAssignee: Simon Bernard <sbernard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: kkinfoo
Version: 0.9   
Target Milestone: 0.9 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 393539    

Description Marc Aubry CLA 2012-09-18 12:22:05 EDT
In markdown syntax 4 space at the beginning of the line means that the rest of the line have to be displayed as raw code and not be interpreted.
So, the following comment : 
--
--	<p>Some code here</p>
--		With indentation
--

should generate some html between <code> and <pre> tag as following:

<pre><code>
&lt;p&gt;Some code here&lt;/p&gt;
    With indentation
</code></pre>

instead, the current result is:
<p>Some code here</p>

<pre><code>    With indentation
</code></pre>

Where the first line is not escaped.
Comment 1 Simon Bernard CLA 2012-11-07 10:41:01 EST
fixed in 0d8e484bf8d3c22913b92ff2779c72ddcd82a1f6.