Jump to content

Home text editor stripping out html code


Ckay

Recommended Posts

For some reason the Home text editor in my Prestashop version is stripping out html code. The 'HTML purifier' is set to off.

 

Below is the code, which works fine in a standalone html page - I found it in a codepen. The code that is being stripped out is shown in blue.

 

<div class="ipanels">
  <a href="#" class="ipanel">
    <div class="ipanel__content"></div>
  </a>
  <a href="#" class="ipanel">
    <div class="ipanel__content"></div>
  </a>
  <a href="#" class="ipanel">
    <div class="ipanel__content"></div>
  </a>
  <a href="#" class="ipanel">
    <div class="ipanel__content"></div>
  </a>
  <a href="#" class="ipanel">
    <div class="ipanel__content"></div>
  </a>
</div>

 

 

**Edit. This is what the code looks like after I've click 'ok' on the source code button.

 

<div class="ipanels">
<div class="ipanel__content"></div>
<div class="ipanel__content"></div>
<div class="ipanel__content"></div>
<div class="ipanel__content"></div>
<div class="ipanel__content"></div>
</div>

 

What the hell is happening?

 

Anyone any ideas?

 

Thanks in advance.

Edited by Ckay (see edit history)
Link to comment
Share on other sites

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...