Closed (fixed)
Project:
Wordfilter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Mar 2012 at 01:06 UTC
Updated:
15 Apr 2014 at 20:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
justingeeslin commentedHi,
That is a good point! It turns out that System module processes that form and it will not allow a field to be empty.
A solution is to set the Default word replacement to be : (HTML Entity for a non-breaking space)
This is not considered an empty string and it will be rendered as a space in the browser.
Comment #2
rooby commentedThe only problem with that is your content could end up with strange spacing between words when using non breaking spaces.
Comment #3
jaydub commentedImplementing this using the same method used in Drupal core blocks configuration - use the string '<none>' to set as empty string.
Comment #4
jaydub commentedFor the moment this still may leave stray spaces around the replaced word. Changes in the regex in issue #883940: Standalone doesn't count for first/last word of sentence or word repetition may resolve this.
Comment #6
jaydub commented