Jump to content
thirty bees forum
  • 0

Why do CMS page updates strip 'rel' attributes out of scripts?


Angstony_2

Question

First some background:
I've been working on creating a CMS picture gallery using this tutorial as a starting point. I've got it working nicely – and responsively too (except in IE) – by using css grid in custom code rather than a table, but I want fancybox to display as a slideshow so I need to add a rel="group" attribute to all of the a-links, but they're getting stripped out after saving the page.

Now I've actually managed to work around this by editing the content column directly in the database – yes, I know the risks – and it works perfectly well as far as I can tell. So my question is, why are they stripped out by design and what might the consequences of my workaround be?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...