When I open a view page, the Global: Text area in the Header is run through the input filters twice. Once, while running pre_execute() on the view object, and a second time when actually executing the views display.
This is not a problem if the input filters can be run multiple times without side effects, but the filter we're using should only be run once over a portion of text - running it twice breaks the text.
My proposal is to change the function translate_string() on class i18nviews_plugin_localization_i18nstrings so that it doesn't use filter formats when doing a translation:
function translate_string($string, $keys = array(), $format = '') {
$options = array();
if (!empty($format)) {
$options['format'] = $format;
}
return i18n_string($this->stringid($keys), $string, $options);
}
Get rid of the $options['format']. This fixes my issue.
This could explain a number of other bug reports which have symptoms that sound like they could be caused by multiple passes of an input filter.