Re: splitting up long posts w/o splitting html
| From: | php3 at developersdesk dot com | Date: | Sun, 02 Jul 2000 09:53:38 +0000 |
| Subject: | Re: splitting up long posts w/o splitting html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4341@lists.php.net to get a copy of this message | ||
** Reply to note from scottrus@ipass.net Sun, 2 Jul 2000 00:43:45 +0500
> My problem is that if the 'break point' for the summary is for example
> after the word "text" and before the word "that" in the following
> sentance:
>
> <B>Some text that breaks</B> may also break HTML formatting.
>
> Then the HTML runs the risk of being broken as well. I need someway to
> ensure that the break point I've choosen won't also break HTML
> formatting or even worse hyperlinks.
>
> Any thoughts on how to do this?
>
How would the HTML formatting be 'broken'?
In View Source?
There is no difference in what appears on the browser between:
------------------------------------
<B>Some text<BR>
that breaks</B> may also break HTML formatting.
------------------------------------
------------------------------------
<B>Some text <BR>that breaks</B> may also break HTML formatting.
------------------------------------
------------------------------------
<B>Some text<BR> that breaks</B> may also break HTML formatting.
------------------------------------
or even:
------------------------------------
<B>
Some
text
<BR>
that
breaks
</B>
may
also
break
HTML
formatting.
------------------------------------
Web browsers take great liberties in formatting text recieved from a
server.
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com