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.
This commit: http://drupal.org/cvs?commit=21962 on the filter.module produces this warning:
preg_replace_callback() [function.preg-replace-callback]: Unknown modifier ' ' in drupal\modules\filter.module on line 1096.
As a result, you can't see the text of a node after it has been submitted. This is bad, bad, bad.
Attached is a patch that fixes this, the regex *should* be on one line. I put in a comment to explain it.
Comment | File | Size | Author |
---|---|---|---|
#5 | filter.module_16.patch | 773 bytes | m3avrck |
#4 | filter.module_15.patch | 600 bytes | m3avrck |
filter.module_14.patch | 866 bytes | m3avrck | |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedThere is another issue too:
Not sure how to fix that one, not as critical as the above patch which needs to go in.
Comment #2
saerdna CreditAttribution: saerdna commentedi dont really know what's wrong but the patch applies and fixes the problem :)
Comment #3
chx CreditAttribution: chx commentedComment #4
m3avrck CreditAttribution: m3avrck commentedBetter patch after talking with chx.
Comment #5
m3avrck CreditAttribution: m3avrck commentedRevised patch fixes other warning.
Comment #6
saerdna CreditAttribution: saerdna commentedwell done.
Comment #7
walkah CreditAttribution: walkah commented+1 commit now, yadda yadda... this is a nasty one.
Comment #8
m3avrck CreditAttribution: m3avrck commentedLooks like this is fixed now.
Comment #9
(not verified) CreditAttribution: commented