Another possibility:
I believe MC leaves existing "hard" cr's as they are when you get/set
the htmlText of a fld. This is different than what web browsers do
when converting HTML to displayable content. Would that account for
your experience?
Phil Davis
----- Original Message -----
From: "Wilhelm Sanke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 4:32 AM
Subject: Re: html Problem
[EMAIL PROTECTED] (Christoph Wollek) wrote on April 18th:
> my problem;
> from a long list of item limited by * I want to get item 2802;
the
> script
>
> set the itemdelimiter to "*"
> get item 2802 of fld 3
> set the htmltext of fld 4 to it
>
> the htmltext in item 2802 is
>
> * 2802 Kauda Kauda / 1x /
>
> Eigenname, eine andere Schreibweise: Klauda;
>
> Kauda, kleine Insel südlich von Kreta
>
> it should show up as: 2802 Kauda Kauda / 1x / (## first Kauda in
> greek) Eigenname, eine andere Schreibweise: Klauda; Kauda, kleine
> Insel südlich von Kreta but it shows as: 2802 Kauda Kauda / 1x /
> Eigenname, eine andere Schreibweise: Klauda; (## here last word in
> greek) Eigenname, eine andere Schreibweise: Klauda; Kauda, kleine
> Insel südlich von Kreta all other item show up properly, this not:
> What is the reason? Thanks in advance for helpful tips.
Are you using Metacard 2.4?
There is a bug that doubles html-textlines sometimes - as I described
in
my message "Re: search and replace "wipes" text styles" of Tue, 10
Apr
2001 in the Revolution list:
> Try the htmltext property as a workaround for your problem:
>
> "on mouseUp
> put the htmltext of field 1 into newtext
> replace "string1" with "string2" in newtext
> set the htmltext of fld 1 to newtext
> end mouseUp"
>
> This works in Revolution and Metacard 2.3.
> In Metacard 2.4 there is a bug that doubles the textlines when you
use
> this workaround - inserting new lines 1,3,5,7 etc. - so you have to
get
> rid of the *odd* lines
>
Maybe your problem is related to that?
Try Metacard 2.3.2
Regards,
Wilhelm Sanke
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.