How to keep intro text formating??
Right now all the intro text shows up within the module as bold and strong. I would like to keep the formatting I set up within the articles. Mainly, it seems to strip out any line breaks and I would like to keep them.
Solved: I figured it out myself. In order to keep the formatting you need to add the format tags you want to use to the following line of code... mod_tab_news.php Line 335 Code:
$content_intro=substr(strip_tags($rows2[0]->introtext,"<b><strong><p></p>"),0,$char_count)."....."; |
| All times are GMT -4. The time now is 04:19 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.