kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

Added ability to display any arbitrary meta-tag #2

Closed jesseclark closed 13 years ago

jesseclark commented 14 years ago

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: "someSite — someTitle", got: "someSite — someTitle" (using ==)

this line: result.respond_to?(:html_safe) ? result.html_safe : result is causing the default — to get double escaped.

joelmats commented 13 years ago

Will this be merged?

aaronchi commented 12 years ago

It would be nice to have this. Sites use other meta tags besides just description and keywords