Skip to content

Fixed roman numeral detection with copy-paste from Word.#6689

Merged
ltrouton merged 1 commit intotinymce:TINY-7368from
aautio:issue-6620
May 4, 2021
Merged

Fixed roman numeral detection with copy-paste from Word.#6689
ltrouton merged 1 commit intotinymce:TINY-7368from
aautio:issue-6620

Conversation

@aautio
Copy link
Copy Markdown
Contributor

@aautio aautio commented Mar 31, 2021

This pull request replaces #6621 as agreed with @JamesToohey.

Fixes #6620

Previously roman numerals with more than two characters
caused the list to split into two. E.g. the list below would split
to ol & ul at third item:

i. First
ii. Second
iii. Third

The included test case covers numerals from I to X.

Pre-checks:

  • Tests have been added (if applicable)

Review:

  • Milestone set
  • Review comments resolved

GitHub issues (if applicable):

Fixes tinymce#6620

Previously roman numerals with more than two characters
caused the list to split into two. E.g. the list below would split
to ol & ul at third item:

i. First
ii. Second
iii. Third

The included test case covers numerals from I to X.
Copy link
Copy Markdown
Contributor

@JamesToohey JamesToohey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @aautio!

Can we please add a changelog entry in the Fixed section for this?

modules/tinymce/CHANGELOG.md

Something like

Fixed a bug where lists pasted from Word with Roman numeral markers were not displayed correctly #GH-6620

@ltrouton ltrouton changed the base branch from develop to TINY-7368 May 4, 2021 06:40
@ltrouton ltrouton merged commit bd938d0 into tinymce:TINY-7368 May 4, 2021
ltrouton added a commit that referenced this pull request May 4, 2021
…6784)

* Fixed roman numeral detection with copy-paste from Word. (#6689)

Fixes #6620

Previously roman numerals with more than two characters
caused the list to split into two. E.g. the list below would split
to ol & ul at third item:

i. First
ii. Second
iii. Third

The included test case covers numerals from I to X.

* TINY-7368: Add changelog entry

Co-authored-by: Ari Autio <ari.autio@iki.fi>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paste from MS Word: Roman numbered lists not recognized

5 participants