wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Some comments are being wrapped by paragraphs.
Open
Nobody has claimed this yet.
[Type] Bug
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Description
The following tests are failing
- https://github.com/wordpress-mobile/AztecEditor-iOS/blob/develop/Example/AztecUITests/AztecUITests.swift#L145
- https://github.com/wordpress-mobile/AztecEditor-iOS/blob/develop/Example/AztecUITests/AztecUITests.swift#L153
Expected behavior
The outputs should be:
1: <!--more-->
2: <p>1</p><!--more><p>2</p>
Additional Tasks:
Make sure the referenced tests are enabled again once this issue is fixed.
Contributor guide
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 with Example/AztecUITests/AztecUITests.swift at lines 145 and 153, where the failing cases are referenced. Run those tests to reproduce the paragraph wrapping and inspect the relevant editor behavior. Done means both outputs match the expected HTML and the referenced tests are enabled again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100