Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: vaish commented