Hi
I have a metatags channel to allow the user to enter their own metatags via the custom field group form. However, my html is not validating correctly because if they use the & character is not rewritten as &. Is their a way of encoding the text entry so all & are changed to &s when written to the page?? My code is as follows:
{exp:channel:entries channel="meta_tags" limit="1" dynamic="no" disable="categories|member_data|pagination" url_title="{embed:the_url_title}" }
<title>{title_tag}</title>
<meta id="description" name="description" content="{meta_description}" />
<meta id="keywords" name="keywords" content="{meta_keywords}" />
{/exp:channel:entries}Thanks