How can I export to HTML with break's, not newlines?

E

Erik-Jan Vens

Dear reader.

One of my users writes the programme for her theatre. She also updates the
website with the same information.

The programme always looks the same:

---------------------
name: ...
date: ...
time: ...
price: ...

more info divided over more lines

---------------------
This works perfectly fine for the printed programme. But there are problems
with the HTML output which she copy-pastes into the website edit facility.

She makes the linebreaks by typing a newline. Through the Word HTML Filter
program I am able to remove all the msonormal's. But every newline is
rendered in HTML by an end of paragraph. Which creates a blank line on the
screen.

Does anybody know how I can do this? Should I create a macro that changes
newline into softbreaks?

Thank you in advance for any help. Erik-Jan
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?RXJpay1KYW4gVmVucw==?=,
She makes the linebreaks by typing a newline. Through the Word HTML Filter
program I am able to remove all the msonormal's. But every newline is
rendered in HTML by an end of paragraph. Which creates a blank line on the
screen.

Does anybody know how I can do this? Should I create a macro that changes
newline into softbreaks?
I'd probably substitute some unique character for the Chr$(11) (Shift+Enter =
new line) in the document, then open the HTML source as a text file and use
find/replace to insert </BR>. (Or replace it using macro code.)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top