Closed (duplicate)
Project:
Patterns
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2010 at 11:41 UTC
Updated:
30 Jan 2011 at 17:57 UTC
I'm trying to configure the Wysiwyg module for my site via the
pattern tag and have come up on an issue. The form values which need to be set have the following field name:
formats[1][editor] = ...
In the
tag the XML would look as follows:
But of course the <1> tag is invalid in XML. To workaround this issue I've patched system.inc such that you can write the above as follows:
<__1__>...The patch code will trim off '__' edges from the tag name once it has been loaded into memory as an array. It uses regular expression matching so other uses of the underscore in tag names won't be affected.
| Comment | File | Size | Author |
|---|---|---|---|
| system.inc_.patch | 2.27 KB | hiddentao |
Comments
Comment #1
vaish commentedHi hiddentao,
Please have a look at: http://drupal.org/node/514234#comment-2926808
That's a workaround for this same issue I implemented and committed some time ago.
Comment #2
vaish commented