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

Re: minor buglet

Hello Stefan `Sec` Zehl, in a previous mail you wrote:

> I just stumbled accross this one:
> matrix:~>echo '<center><center></center></center>'|wml
> <div align="center"><center></div></center>

Fixed for WML 1.6.3:

:> echo '<center><center></center></center>'| ./htmlfix 
<div align="center"><div align="center"></div></div>

Thanks for the hint. As a workaround for your problem before 1.6.3 is
available just replace line 192 of wml_backend/p7_htmlfix/htmlfix.src with

   $buffer =~ s|<center>|<div align=center>|isg;
   $buffer =~ s|</center>|</div>|isg;

                                       Ralf S. Engelschall
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com