Page MenuHomePhabricator

Parsoid round trip on talk pages converting hex CSS colours to RGB
Closed, InvalidPublic

Description

Recently there have been a few different users pointing out the same strange behaviour in the EditProtectedHelper gadget, which uses Parsoid to parse pages, edit them, and save them again. The gadget is changing hex colours in users' signatures to RGB, along with edits to whitespace inside style properties (example). I think this is a Parsoid bug rather than a bug in the gadget, as it delegates all of its parsing to Parsoid rather than try and do it itself. See this section on the gadget's talk page for more examples and some discussion.

Event Timeline

MrStradivarius raised the priority of this task from to Needs Triage.
MrStradivarius updated the task description. (Show Details)
MrStradivarius added a project: Parsoid.
MrStradivarius subscribed.

IIRC this is a tell-tale sign of IE messing things up. @Catrope will know all about it ;)

GWicke: That might explain why it's never happened to me. I use the script quite a bit and haven't encountered this bug myself, but I only ever edit from Firefox or Chrome.

Jackmcbarn claimed this task.

Indeed, that does appear to be it. Since we can't fix an IE bug (and can't even work around it in this instance), I'm closing this.