I'd say yes:

//METHOD: MarkdownToHTML

C_TEXT($0;$1;$tMarkdown;$tHTML;$tPlaintext)

$tMarkdown:=$1
$tHTML:=Markdown Process Text (OBJECT Get plain text($tMarkdown))
$0:=$tHTML




//METHOD: MarkdownToPlaintext

C_TEXT($0;$1;$tMarkdown;$tHTML;$tPlaintext)

$tMarkdown:=$1
$tHTML:=Markdown Process Text ($tMarkdown)
$tPlaintext:=Preg Replace ("\\s+";" ";Preg Replace ("(\\<)(?!>)(.*?\\>)";"
";$tHTML))
$0:=$tPlaintext

Peter



>> Everything worked fine. At least for a couple of minutes, when 4D server
>> suddenly crashed. I was able to track the issue down to the call of the
>> "MarkdownToHTML" 4D method. It  doesn't crash on every call but on about
>> every 20th call or so.
> 
> How are you passing the text to and from the method? If you used parameters,
> did you declare $0 and $1 as C_TEXT?
> 
> Regards,
> 
>    Aparajita



_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to