[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: [BUG REPORT] WML 2.0.6, SunOS Release 5.8 - Solaris 8
- From: Denis Barbier <nospam@thanx>
- Date: Fri, 25 May 2001 22:17:27 +0200
On Tue, May 08, 2001 at 05:51:31PM +0200, hoffmana@ma.tum.de wrote:
> BUG REPORT
>
> Package: WML 2.0.6
> Operating System: SunOS Release 5.8 - Solaris 8
>
> Problem Description:
> | Hello Denis,
> |
> | in "htmlfix" the <center>-Tags are replaced by
> | <div align=...>. Unfortunately this only applies to
> | plain <center>-Tags without attributes.
> | <center style="SomeCssStuff">Text</center>
> | leads to
> | <center style="SomeCssStuff">Text</div>.
> | Didn't cause any browser probs here, but should be
> | fixed in the next version nevertheless.
> | It should be enough to remove the trailing ">" in the
> | replacement in "htmlfix".
> |
> | Wrote a own <center>-tag as workaround till the bugfix
> | comes up.
Hi Andreas,
i applied the following patch:
--- wml_backend/p7_htmlfix/htmlfix.src 2000/11/15 10:30:55 1.15
+++ wml_backend/p7_htmlfix/htmlfix.src 2001/05/25 20:03:47 1.16
@@ -253,7 +253,7 @@
sub Fixup_center {
&verbose("replacing <center>..</center> by <div align=center>..</div>");
- $buffer =~ s|<[cC][eE][nN][tT][eE][rR]>|<div align="center">|g;
+ $buffer =~ s|<[cC][eE][nN][tT][eE][rR](\s[^>]*)?>|<div align="center"$1>|g;
$buffer =~ s|</[cC][eE][nN][tT][eE][rR]>|</div>|g;
}
Thanks for your report.
--
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