[WM] Strange behavior with EtText 2.3

Herbert Liechti herbie.thinx.ch
Fri May 10 07:34:02 IST 2002


On Fri, 10 May 2002 ckolumbus at gmx.de wrote:

> On Fri, May 10, 2002 at 03:44:39PM +0200, Herbert Liechti wrote:
> > Hello
> >
> > I have a strange behavior with EtText 2.3. Example:
> >
> > ---------------------------Start
> >
> > Subject: Cäsars Druide
> >
> > Any text any text any text
> >
> > ---------------------------End
> >
> > The text2html method cuts away two characters at the end of the
> > Subject line. The resulting HTML-String looks like this:
> >
> > <p><em>Subject: </em>C&auml;sars Drui <br />
> > </p><p>
> > Any text ......
> >
> > Any suggestions? Bug or feature ;-)?
> >
> >
>
> Works for me (with a file containing only those 5 lines above):

Not for me. Do you use the same version (2.3)? I started the
script with the debugger. The error is somewhere in the
method markup_lists.

Here my testscript:

use strict;
use Text::EtText::EtText2HTML;

my $text = '

Subject: Cäsars Druide

Any text any text any text
';

   my $et = new Text::EtText::EtText2HTML;
   my $value = $et->text2html($text);
   print $value, "\n";

Best regards Herbie
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Herbert Liechti                                  http://www.thinx.ch
The content management company.         Visit http://www.contentx.ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the Webmake-talk mailing list