Generating unnecessary tags for nested inline style
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 325
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
This happens given the following input:
aaabbbaaa
The excepted output is
<p><em>aaa<strong>bbb</strong>aaa</em></p>
Actual output:
<p><em>aaa</em><strong><em>bbb</em></strong><em>aaa</em></p>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the input _aaa**bbb**aaa_ and compare the generated HTML with the expected output. Trace the inline-style conversion entry point and add coverage for this nested emphasis and strong-style case; done means the output no longer adds redundant <em> tags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100