[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Script to upgrade from WML 1.x to 2.x

On Tue, Oct 03, 2000 at 12:39:11PM +0100, Werner Heuser wrote:
> Denis Barbier wrote:
> > 
> > Hi,
> > 
> > i eventually wrote a script to help upgrading to WML 2.x.
> Hi Denis,
> I tried the new conversion script and it worked great. Thank you.


> BTW: WML 2.0.4 still contains a glitch in the -O4 option.
> After a < a href .. > .. </a> construct the blank sign gets
> removed :(

In fact i do not know what to do with this flag, so i prefer not to
change its behaviour. Maybe a reasonable solution would be to
  - remove spaces after begin tag and before closing tag (for container
  - leave spaces around simple tags.
But then what to do with HTML tags having an optional closing tag?

It sounds really painful, and external tools (like tidy) are much more
suited for this task. So do not expect wml_p8_htmlstrip to support
optimization level higher than 2.

Denis Barbier
WML Maintainer
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com