Extra paragraph tag around slide text causes XHTML Validation FAIL

Your Ad Here

I got everything working from the advanced slideshow tutorial - yay! Got the view, the content type, and templates, didn't really change anything from them, except as told to in the tutorial.

But when I go to check XHTML validation on the page with the ddblock, it fails for something that seems (hopefully) fixable:

           <div class="slide-body clear-block border">
 
            <div class="slide-body-inner clear-block border">
             <p><p>My slide text goes here...</p>
</p>
            </div> <!-- slide-body-inner-->
           </div>  <!-- slide-body-->

See the extra set of paragraph tags enclosing the slide text? They occur when I use one of the uprightxx or the chromatic-blue30l themes....so I'm not sure where the extra tag is coming from.

Would really appreciate a hint as to where to look in the code, to get rid of one set of those tags!

Re: Extra paragraph tag...

Probably you have a wysiwyg editor installed on your installation which adds the <p>...</p> tags.

You need to disable the wysiwyg editor for the text field.

or

you can get the <p>...</p> from the ddblock-cycle-block-content-[ddblock-theme_name].tpl.php file.

Line:

<div class="slide-body-inner clear-block border">
 <p><?php print $slider_item['slide_text'] ?></p>
</div> <!-- slide-body-inner--> 

Hope this helps you further, please let me know.