WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 4 months ago

#48707 new defect (bug)

Heading can't start with a number followed by a dot

Reported by: bikegremlin Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Editor Keywords:
Focuses: Cc:

Description

I usually write article headings numerated, like:

  1. Introduction
  2. Point

2.1. Sub-point
etc.

With the WordPress 5.3. it is impossible to start a chapter with say:
1.

etc.

It automatically switches to numbered lists. Even though I had chosen the block to be H2, or H3 etc.

Change History (2)

#1 @SergeyBiryukov
6 months ago

  • Summary changed from Heading can't start with a nuber followed by a dot to Heading can't start with a number followed by a dot

#2 @bikegremlin
4 months ago

Workaround that has worked for me:

a) Write the chapter without space after the number. Like:

1.Chapter name

b) Press space after the number - "1." in this example.

c) It will instantly turn into a numbered list. NOW press backspace. It reverts to heading - tried with several WordPress installations, it gets the job done.

Note: See TracTickets for help on using tickets.