Re: Find & Replace Line Breaks with Paragraph Breaks

From: Steve Easton (admin_at_95isalive.com)
Date: 05/17/04


Date: Mon, 17 May 2004 16:21:19 -0400

That would work with the exception of the first opening <p> tag and the last
closing </p> tag.
As long as the user remembered to manually insert them it would work, if not I
see a problem.

-- 
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
"Paul S. Wolf" <paul.s.wolf@alum.wpi.edu> wrote in message
news:40A91386.5020707@alum.wpi.edu...
> Steve Easton wrote:
> > It's not that simple, because in html a line break is only one item  <br>
while
> > a paragraph has an opening and a closing tag <p>  </p>
> > The find and replace function would not know where to place the closing </p>
tag
> > because there would be nothing to search for to replace it with.
> >
> > You might want to take a look at Code view.  It's pretty handy.
>
> To replace line breaks with paragraphs, you would replace <br> tags with
> BOTH </p><p> tags.  (i.e. replace the line break with "end the current
> paragraph and start a new paragraph")  (<br> in html is the equivalent
> of  ^l in Word, and </p><p> is the equivalent of ^p)
>
> -- 
> Paul S. Wolf, P.E.
> mailto:paul.s.wolf@alum.wpi.edu


Relevant Pages