Numbered settings "none" renders as an OL instead of UL

Created on 19 September 2023, over 1 year ago

Problem/Motivation

When editing a table of content type, if you choose "none" under "Numbering Type" it will render as <ol class="none"> instead of <ul>.

Steps to reproduce

Edit a table of content type settings and choose "none" for "Numbering Type".

Proposed resolution

On toc-tree.html.twig at line 40 change {% if item.below_type %} with {% if item.below_type != "none" %}

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024