Ticket #5 (closed defect: fixed)
Leading line of codeblock with more than one tab width of indent mistakenly unindented
| Reported by: | deveiant | Owned by: | deveiant |
|---|---|---|---|
| Priority: | normal | Milestone: | Previous Releases |
| Component: | MarkdownSyntax | Version: | 0.0.3 |
| Severity: | normal | Keywords: | old bugs |
| Cc: |
Description
(From an email)
<pre><code> seems to have a problem. This input gives a different result to the "Dingus" Markdown testing page.
#---------------------------------------------------------------------------- Examples: # (Waste character because first line is flush left !!!) # Example script1 x = 1 x += 1 puts x #---------------------------------------------------------------------------- # Blue Cloth #-> <pre><code># (Waste character because first line is flush left) # Dingus (markdown) #-> <pre><code> # (Waste character because first line is flush left) ^^^^^^
My input is indented 10 (4 + 6). Four spaces (or one tab) are removed by Markdown, of course. Dingus inserts 6 spaces in the output and it is aligned with the lines which follow.
Change History
Note: See
TracTickets for help on using
tickets.
