Flexibility in targeting heading tags

Created on 16 August 2024, about 1 year ago

Problem/Motivation

I am now working with a patched (MR) version of 3.0.x-bdev and I have noticed a regession (I think!).

I used to be able to exempt particular heading (ones sitting inside <div>a of class .heading-class) by using…

But when I do that now, I see no ToC at all and an error in the JavaScript console saying…

Uncaught Error: Syntax error, unrecognized expression: h1, :not(.is-a-group-title-Yes)&gt;h2
    at I.error (jquery.min.js?v=3.7.1:2:11769)...

I can see that the > element of my selector has been escaped.

On the otherhand, I don't even know why I really need to > anyway so this ought to work…

But it does not.

In short, I think it would be very useful to have as much flexibility as possible to exempt certain <h> tags.

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

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