Read more link with HTML code
| From: | Mike van Hoof | Date: | Mon, 07 May 2007 11:28:16 +0000 |
| Subject: | Read more link with HTML code | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-43555@lists.php.net to get a copy of this message | ||
Hello list,
I got a problem with displaying content in a "read more block" which contains HTML code.
The problem is as followes:
I got a large piece of content, which contains HTML code (<b><u><i> etc), but after 200 characters a read more link appears. At the moment I strip al the HTML out of this piece of content, and display the full set off content on another page.
But now i also want to display the bold text etc. in the first (200 chrs) content block. The only problem i have here, is that when I got a bold tag opend in the first 200 chrs, and it's closed after 400 chrs, then the rest off the page is also bold.
somebody got a solution ?
Thanks for reading.
Mike
--
Medusa, Media Usage Advice B.V.
Science Park Eindhoven 5216
5692 EG SON
tel: 040-24 57 024
fax: 040-29 63 567
url: www.medusa.nl
mail: mike@medusa.nl
Uw bedrijf voor Multimedia op Maat