Page MenuHomePhabricator

Visual Editor produces garbage with HTML entities inside templates
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

A small example to reproduce the same issue is at https://en.wikipedia.org/w/index.php?title=User:RoySmith/sandbox&oldid=1143459733

Also see discussion at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Newlines_in_templates%3F

Chrome Version 110.0.5481.177 (Official Build) (x86_64)
MacOS Monterey

Event Timeline

ssastry subscribed.

This is probably an edge-case bug in the TableFixups code in Parsoid.

Change 895367 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/services/parsoid@master] TableFixups: Use entity wt, not rendered text, while fixing cells

https://gerrit.wikimedia.org/r/895367

ssastry triaged this task as Medium priority.Mar 7 2023, 10:55 PM
ssastry moved this task from Needs Triage to Bugs & Crashers on the Parsoid board.
ssastry moved this task from Backlog to Code Review on the Content-Transform-Team-WIP board.

Change 895367 merged by jenkins-bot:

[mediawiki/services/parsoid@master] TableFixups: Use entity wt, not rendered text, while fixing cells

https://gerrit.wikimedia.org/r/895367

Change 896413 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/vendor@master] Bump parsoid to 0.17.0-a20 and zest-css to 3.0.0

https://gerrit.wikimedia.org/r/896413

Change 896413 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.17.0-a20 and zest-css to 3.0.0

https://gerrit.wikimedia.org/r/896413