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

Bug 389979

Summary: [Luadocumentor] Management of # markdown tag
Product: [Tools] LDT Reporter: Gaetan Morice <gmorice>
Component: LuaDevelopmentToolsAssignee: Simon Bernard <sbernard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: kkinfoo, marc.aubry42
Version: unspecified   
Target Milestone: 0.9 RC1   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 393539    

Description Gaetan Morice CLA 2012-09-20 05:14:14 EDT
When the following lua comment is processed by luadocumentor

---
-- blabla
-- 
-- #title1
-- 
-- * b1
-- * b2
-- 
-- blabla.
-- 
-- #title2 
-- 
-- ##title21
-- 
-- #title3
-- 
-- ## title31 
--
-- @module test
-- 
-- 

the HTML generated is

   <h1>Module <code>test</code></h1>
    blabla</p>

<p> #title1</p>

<ul>
    <li>b1</li>
    <li>b2</li>
</ul>

<p> blabla.
   <br/>
<h1>title2</h1>

<p> ##title21</p>

<p> #title3</p>

<p> ## title31</p>

instead of

<h1>Module <code>test</code></h1>
    
blabla</p>

<h1>title1<h1>

<ul>
    <li>b1</li>
    <li>b2</li>
</ul>

<p> blabla.
   <br/>
<h1>title2</h1>

<h2>title21</h2>

<h1>title3</h1>

<h2>title31</h2>
Comment 1 Marc Aubry CLA 2012-09-20 06:16:54 EDT
*** Bug 389991 has been marked as a duplicate of this bug. ***
Comment 2 Simon Bernard CLA 2012-11-07 10:41:33 EST
fixed in 0d8e484bf8d3c22913b92ff2779c72ddcd82a1f6.