Re: Tenacious Word tag won't die
Cory Nelson <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
Have you tried this? http://tidy.sourceforge.net/docs/quickref.html#word-2000 On Wed, 17 Nov 2004 11:09:57 +1000, David Nicholls <[email protected]> wrote: > I've been trying to use Tidy to clean up Word 2000/2003 "HTML". > > I am unable to find a way to remove the gratuitous <o:p> , </o:p> tags. > > I've tried using Tidy (several builds) from within Homesite 5.5, from within > Topstyle 3, and using HTMLTrim and TidyUI. > > There does not appear to be a way to tell Tidy to kill non-W3C tags. It > reports tham as illegal and then leaves them in place. A "kill non-W3C tags" > option would be most welcome. > > There are two problems: simple empty <o:p></o:p> occurrences and bracketed > nbsps and blank spaces: <o:p> </o:p> or <o:p> </o:p> > > I have not tried the command line, because, working in a Windows environement, > command line operations are slow and error prone, and it appears likely, in > the organisation where I'm working, that command line access will be closed > off by a (paranoid) security policy soon. > > Does anyone have any guidance on how to kill these pestiferous tags? > > A test Word 2000 "HTML" file that shows the problem is located at > https://sourceforge.net/tracker/download.php?group_id=27659&atid=390963&file_id=108929&aid=1067112 > > See also bug 1067112. > > DN > ____________________________ > David C Nicholls > Nicholls Communications > http://www.dcnicholls.com/ > -- > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Tidy-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tidy-develop > -- Cory Nelson http://www.int64.org ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8