todordev / ITPMeta

It is a Joomla! extension that puts meta tags into the site code. The component provides a list with predefined and popular meta tags. There are Open Graph, Facebook, Google and other semantic tags.
http://itprism.com/free-joomla-extensions/others/open-graph-meta
Other
4 stars 4 forks source link

Tag write error - Each save adds '\' to tags #6

Closed Gecko-RS4 closed 11 years ago

Gecko-RS4 commented 11 years ago

The component looks awesome and is exactly what I was after but each time a tag is saved, it adds extra backslash characters to each tag???

Example: Joomla 2.5.8 - Installs fine.

New > 'Title' and the output field is correctly showing

Add a title of XYZ123 and the output field is also correctly showing

Click save (or save & close) and the output (and tag) fields now include backslash characters and show <meta property=\"og:title\" content=\"XYZ123\" />

Save again and you get <meta property=\\"og:title\\" content=\\"XYZ123\\" />

With each save, it adds more <meta property=\\\\"og:title\\\\" content=\\\\"XYZ123\\\\" />

todordev commented 11 years ago

Hi, Thank you for the message! You should disable PHP magic quotes and all will be OK. I have fixed that in next version. I am going to publish it next few days.