Re: tidy fails parsing broken tag

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* Arvid Ephraim Picciani wrote:
>on some website i found:
>"<bobr>foobar</nobr>"
>
>tidy won't parse a bit of the entire page, any idea how to fix this?  i don't 
>need the correct tags, just the content.
>
>tidy is able to correct:
>"<nobr>foobar</bobr>"
>into
>"<nobr>foobar</nobr>"
>but not the other way round.
>
>I need perfectly valid xml at all costs, so i'm fine if some parts get lost.

Perhaps you are looking for the --force-output option, or maybe even one
of the --new-foo-tags options. The former will give you output even if
it is broken, the latter allows you to declare "bobr" as new element.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.