Hello, I noticed that for some reason Megafilter publishes values related to field types text/editor/textarea/url, with an extra blank space at the end of the value.
I’m not sure why you did this, but this causes problems if you want to use their raw value with no extra space. There is really no reason to have this extra space.
The fix is simple. In plugins/jamegafilter/content/helper.php:
Find:
$this->attr['ct'.$field->id]['value'] .= $field->value . ' ';
$this->attr['ct'.$field->id]['frontend_value'] = $field->value . ' ';
Replace with:
$this->attr['ct'.$field->id]['value'] .= $field->value;
$this->attr['ct'.$field->id]['frontend_value'] = $field->value;
As you can see is as simple as removing this: .’ ‘
Can you please fix this officially in the next version?
Thanks!
-
This topic was modified 7 years, 1 month ago by thesdhotel.