Hello.
When adding links in the format : <a href="http://www.google.com">Test link</a>
make entire footer disapear on page et when click edit footer, the footer is empty.
Anyone else having problems adding HTML code ?
To make it simple, I think there is a problem with the saving of HTML content from editor in the footer.
How to tell WP / Cornerstone builder not to strip / format any HTML code ?
Look at the content as is saved in the database :
There are serious html code modifications like spaces and line breaks that break the json correct formatting of the content.
What about someone write <div class="nameclass">CONTENT</div>
? Adding double quotes in any HTML content will break all the footer !
Edit: Confirmed. The powerful tool to create really custom headers and footers are totally useless since it comes to write own html code. The inserted code is correct (closing tags and correct syntax, using single quotes for the classes). When saving, all is screw up, the code get striped of closing tags making the whole page break.
The only way to have what I want is to create a custom html code in Widget > Footer area ant then add it to Custom Builder with Widget Area area. Very not appealing since modifications are not seen “live” …
The same result is obtained when using “Content Area” or “Text” blocks.
I’m eager to hear the developers point of view…
Where one can use globally public $preserve_content = true;
if it wants it ?
(Also posted in General for community)