On Silverstripe 3.1, I have a theme with a DOCTYPE set to XHTML 1.0 Strict
As I wanted to use Google Webmaster Tools on my website, I had to add a meta tag "google-site-verification" on my home page, so I decided to add it in the Custom Meta Tags field of my home page.
However, when I save my document, the "/" of my closing tag gets stripped from :
<meta name="google-site-verification" content="..." />
to :
<meta name="google-site-verification" content="..." >
which causes my browser not being able to open my website anymore, as my home page is not XHTML valid now. Same thing when I try with an opening and a closing tag (<meta name="google-site-verification" content="..." ></meta>), my closing tag gets stripped and I end up with only the opening tag (<meta name="google-site-verification" content="..." >).
Has anyone ever run into this issue ? Is there a way to go around ? I guess I could include this tag in my theme's Page.ss template, but I really only need this meta tag for my home page.