Unordered list following ordered list in comment does not get list styling in preview

Created on 18 April 2024, 8 months ago
Updated 4 September 2024, 4 months ago

Problem/Motivation

A particular combination of code results in an unordered list not being displayed with ordered list styling in the preview.

Steps to reproduce

1. Create a comment on an existing issue:

Okay, I don't want to mess up your Tugboat instance. The instance on 
            
              
              
              πŸ›
              navigation_theme() loads 'extension.list.module' for no purpose.
                Needs review
              
             doesn't seem to have Admin Toolbar.

However, the specific configuration I want to test is as follows:

<ol>
  <li>On /admin/modules, in addition to the Admin Tool bar, enable Admin Toolbar Extra Tools</li>
  <li>Click Install</li>
  <li>Expand Admin Toolbar Extra Tools</li>
  <li>Click Configure</li>
  <li>Check Enable/Disable local tasks display</li>
  <li>Click Save configuration</li>
  <li>Navigate to some existing content</li>
</ol>

Expected result: there is a local task menu, with the following sub-items:

<ul>
  <li>View</li>
  <li>Edit</li>
  <li>Delete</li>
  <li>Revisions</li>
</ul>

Presumably with Navigation also installed, the local task menu would be incorporated into the left side bar navigation.

If Admin Tool Bar isn't compatible with navigation, then I would expect there to be some other means by which I could incorporate such a menu and sub-menu into the navigation menu.

As a sidenote, I dislike the "local task" label as being jargon, and have separately filed 
            
              
              
              πŸ›
              "Local tasks" is hard to understand
                Active
              
            

2. Click Preview

Expected result: The words view, edit, delete, and revisions appear in an ordered list with bullets
Actual result: The words view, edit, delete, and revisions appear without any bullets

This happened while preparing comment number 8 πŸ› Navigation module gets error when added on simplytest.me Active on πŸ› Navigation module gets error when added on simplytest.me Active .

3. Click Save

Expected and actual results: The words view, edit, delete, and revisions appear in an ordered list with bullets

Note: The issue does not recur if I attempt to edit the comment and preview that. It only occurs on the initial entry and preview.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States charles belov San Francisco, CA, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024