Closed (fixed)
Project:
WYSIWYG Filter (D7)
Version:
6.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2010 at 14:41 UTC
Updated:
18 May 2010 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
markus_petrux commentedI think the problem is the position of the values in the background property. I've tried moving the color at the beginning and the filter parses it correctly.
The regular expression used to parse these values is located in wysiwyg_filter.inc and looks like this:
This regexp is aimed to expect the values in a particular order, which is probably the fault here.
So we probably need to change this to accept the property values in ANY order?
Comment #2
markus_petrux commentedCould you please try replacing the above mentioned lines with:
This variant should allow the background property values specified in ANY order.
Comment #3
pengcx commentedProblem solved thx :D
Comment #4
pengcx commentedComment #5
markus_petrux commentedThanks for the feedback. I'll commit the patch to CVS later.
Comment #6
markus_petrux commentedCommitted to CVS, and documented with better title.
http://drupal.org/cvs?commit=362954
Comment #7
markus_petrux commentedActually, this bug affects also the combined font attribute. Follow up issue: #789690: Enhance the parser to accept individual values of font style attribute in any order