jpuri / jpuri/draftjs-to-html

Nested ordered list and nested unordered list placed side by side gets transformed incorrectly

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
325
Forks
139
PR merge metrics
No merged PRs in 30d

Description

An ordered list placed next to an unordered list like so...

  • Bullet 1
    • Bullet 1.1
      • Bullet 1.1.1
  1. Item 1
    1. Item 1.1
      1. Item 1.1.1

... gets transformed as...

  • Bullet 1
  1. Item 1
    • Bullet 1.1
    1. Item 1.1
      • Bullet 1.1.1
      1. Item 1.1.1

A PR has been pushed to resolve this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #128, which is described as resolving this issue, and reproduce the nested unordered and ordered list example from the issue body. Done means the conversion preserves each list type and nesting level instead of placing the nested lists side by side.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.