Ticket #302 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Nested lists are rendered incorrectly

Reported by: JeremyRuston Owned by:
Priority: minor Milestone: 2.3
Component: core Version:
Severity: medium Keywords:
Cc:

Description

As  discussed here, TiddlyWiki renders nested lists incorrectly.

 <ul>
       <li>level 1, item 1</li>
       <ul>
           <li>level 1, item 1</li>
       </ul>
   </ul>

However, correct would be the following:

   <ul>
       <li>level 1, item 1
           <ul>
               <li>level 1, item 1</li>
           </ul>
       </li>
   </ul>

Attachments

Ticket302.patch Download (0.9 KB) - added by SaqImtiaz 5 years ago.

Change History

Changed 5 years ago by MartinBudden

  • priority changed from undefined to minor
  • severity changed from undefined to medium
  • milestone changed from 2.2 to 2.3

Changed 5 years ago by SaqImtiaz

I have attached a patch that fixes this problem, with minimal changes. The problem was in the way the DOM elements were constructed, not with the RegExp?.

Changed 5 years ago by SaqImtiaz

Changed 5 years ago by JeremyRuston

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:2228

Changed 5 years ago by JeremyRuston

Sorry, make that fixed in changeset:2282

Changed 5 years ago by JeremyRuston

...and also in changeset:2283

Note: See TracTickets for help on using tickets.