Modified display_meta_tags to delete each key from the meta_tags hash as it is processing and then loop over any remaining key/value pairs and add meta tags to the result.
Also, just fyi, you have a failing spec in your master branch:
'MetaTags::ViewHelper title should use custom separator if :separator' FAILED
expected: "
Modified display_meta_tags to delete each key from the meta_tags hash as it is processing and then loop over any remaining key/value pairs and add meta tags to the result.
Also, just fyi, you have a failing spec in your master branch:
'MetaTags::ViewHelper title should use custom separator if :separator' FAILED expected: "
this line: result.respond_to?(:html_safe) ? result.html_safe : result is causing the default — to get double escaped.