wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Cannot Render HTML tags
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Describe the bug
Putting text like:
<body style="font: 14px/1.4285714 Arial, sans-serif; color: #333">
<table style="width: 100%; border-collapse: collapse">
</table>
</body>
will render like:
[BODY][/BODY]
To Reproduce
Steps to reproduce the behavior:
- Open an instance of Aztec editor
- fill the editor with an HTML string that start and end with HTML tag like ,,
- this section will not be rendered
Expected behavior
As on the Android version, we will expect that body and head will just be hidden and their contents rendered
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 by reproducing the issue in an Aztec editor instance with HTML containing head, body, or table tags, then trace the HTML parsing and rendering entry point. Done means these container tags are hidden while their contents render, matching the Android behavior; add or update regression coverage if the relevant test area is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100