I am using CKEditor 4.5 and it is changing my html.
For example:
If I pass in
<article class="span3 item ">
<a href="#" class="item-module">
<figure class="item_img">
<img src="thumb-4.jpg" alt="">
</figure>
<div class="item_content">
<h4>ertyasasety Lytarse</h4>
<p>seplabrde ertyasasety kertyas</p>
</div>
<div class="clearfix"></div>
</a>
</article>
it changes it to
<article class="span3 item ">
<figure class="item_img"><a class="item-module" href="#"><img alt="" src="thumb-4.jpg" /> </a></figure>
<div class="item_content">
<h4><a class="item-module" href="#">ertyasasety Lytarse</a></h4>
<p><a class="item-module" href="#">seplabrde ertyasasety kertyas</a></p>
</div>
<div class="clearfix"> </div>
</article>
This code is not work like the original
Is there a way to i have the right html code?
my config.js have
config.templates_replaceContent = false;
config.allowedContent = true;
CKEDITOR.dtd.$removeEmpty['span'] = false;
CKEDITOR.dtd.$removeEmpty.i = 0;