TinyMCE - can I prevent <ul> tags from being written
11 posts by 3 authors in: Forums > CMS Builder
Last Post: April 4, 2012 (RSS)
By (Deleted User) - April 4, 2012
Hi Meg,
Try replacing the tab code with this (just showing the first tab to save space):
and remove the following:
Let me know if that helps,
Tom
Try replacing the tab code with this (just showing the first tab to save space):
<!--Start First Tab-->
<?php if ( @$record['tab_description_1'] ) : ?>
<div id="fragment-<?php echo $record['num']; ?>a">
<!--Scrolling DIV's-->
<div class="scroll-pane">
<?php echo str_replace("</ul>", "", str_replace("<ul>", "", $record['tab_description_1'])); ?>
</div>
</div>
<?php endif ?>
<!--END First Tab-->
and remove the following:
<?php
echo str_replace("</ul>", "", str_replace("<ul>", "", $publishing_packagesRecords['tab_description_1']));
echo str_replace("</ul>", "", str_replace("<ul>", "", $publishing_packagesRecords['tab_description_2']));
echo str_replace("</ul>", "", str_replace("<ul>", "", $publishing_packagesRecords['tab_description_3']));
echo str_replace("</ul>", "", str_replace("<ul>", "", $publishing_packagesRecords['tab_description_4']));
echo str_replace("</ul>", "", str_replace("<ul>", "", $publishing_packagesRecords['tab_description_5']));
?>
Let me know if that helps,
Tom