On enabling the sample filter "MediaWiki" in either Full HTML or PHP input formats, when I create a new node containing the text "Hello", displaying the Submitted note fails, and I get the error message:

warning: preg_replace_callback(): No ending delimiter ']' found in /home/752/knowhow/www.mydomain.com/public_html/sites/all/modules/customfilter/customfilter.module on line 931

Any suggestions?

Comments

iantresman’s picture

This appears to be due to some errors in the examples provided in customfilter_sample.xml, in both the Footnotes and MediaWiki custom filters, in particular, the Unordered List, and Links examples, and I suspect the Ordered list (and TOC). The Link filter seemed to be causing the error.

avpaderno’s picture

Category: bug » support
Status: Active » Fixed

The filters that can be imported from customfilter_sample.xml are given as example of possible filters one can create with this module. They are thought to be used as bases to create custom filters, and not as perfectly working filters.

avpaderno’s picture

Title: MediaWiki sample filter gives Error warning » MediaWiki sample filter gives error warning

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

iantresman’s picture

Issue summary: View changes