Search form: additional attributes with quotes handled incorrectly
I have noticed a problem while creating a query for a search form.
As you may see in the attached snapshot snap1.png, I was trying to add an additional tag attribute in order to get the following appended to the input field:
<input ... title="This is my filter" ...>
The first time I set up the attribute such as in the image ('title="This is my filter"'), it gets saved correctly in the database and everything works.
However, if I get back to the query again in order to modify it, the field is rendered incorrectly (just 'title=' without a value, see snap2.png), probably due to the quotes in the argument value.
I guess the problem is related to the following line in tx_wfqbe_query_search/class.tx_wfqbe_searchform_generator.php:
$content .= ' - ' . $GLOBALS['LANG']->getLL('additional_attributes') . ': <input type="text" name="wfqbe[fields][' . $key . '][form][additional_attributes]" value="' . $value['form']['additional_attributes'] . '" />';
Probably the value must be handled somehow in order to get rendered correctly. I have tried a little using addslashes() and str_replace() functions but could not make it work.