Section selector shows html markup in section title and such sections fails to load. See the screenshot below.
Derived Requirements
- Ensure that section titles in the section selector are displayed as plain text, without rendering raw HTML markup.
- Sections containing HTML markup in their titles must load correctly in the Content Translation workflow.
- The section selector must remain fully functional and not break when encountering special characters, HTML tags, or formatting within section titles.
- The solution should work consistently across different languages and wikis.
Test Steps
Test Case 1: Verify section selector handles HTML markup in titles
- Open Content Translation on Wikipedia.
- Select a source article that has section titles containing HTML markup (e.g., <i>, <b>, <span>).
- Open the section selector.
- ✅❓❌⬜ AC1: Confirm that section titles are displayed as plain text without showing raw HTML tags.
- ✅❓❌⬜ AC2: Confirm that selecting such a section loads the section content correctly without errors.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ❌ | T387427#11126740 |
| 2 | ✅ | T387427#11126740 |





