<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi John,<br>
<br>
I updated extendmarkup.php , re-enabled both extendmarkup and
LinkPageCreateFmtToolTip in my config.php and all looks great.&nbsp; I did
some bouncing around in my wiki and I don't see anything else wrong.&nbsp;
Good work.<br>
<br>
Thanks for your help on this one.&nbsp; I look forward to using more of the
extended markups.<br>
<br>
Stan<br>
<br>
John Rankin wrote:
<blockquote cite="mid1047713341john.rankin@affinity.co.nz" type="cite">
  <pre wrap="">On Friday, 1 April 2005 8:55 AM, Stan Ritchie <a class="moz-txt-link-rfc2396E" href="mailto:stan@ritchietribe.net">&lt;stan@ritchietribe.net&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Patrick,

I did add the /s option to the other lines.&nbsp; It seems to have
corrected the link issue, but I found at the bottom of one of
my advance table cells a less than character and a series of
double and single quotes.&nbsp; The cell itself includes a flash.swf
attachment.&nbsp; This problem does not seem to be related to the
$LinkPageCreateFmt because it does not go away when I comment
out the include line in config.php.&nbsp; It seems to be contained
in the extendmarkup.php changes.&nbsp;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I have updated extendmarkup.php with a different patch, as I'll
need to do more careful testing of Patrick's suggestion.

In the mean time, I added an extra tweak to the code. It now
looks for 

    &lt;[^&gt;]+ newline

and

    newline [^&lt;]+&gt;

and changes the newline to space. This is a quick patch, 
not a proper solution. But by my tests the following now 
works correctly:

 &lt; stuff
   more stuff inside the tag
   yet more stuff &gt;

See if it has a problem with your advanced table cells. If
you can give more details, I'll try to replicate (and maybe 
even fix) the problem.
  </pre>
  <pre wrap=""><!---->...
  </pre>
  <blockquote type="cite">
    <pre wrap="">Nope! I had tried the /s option and can report that I got the 
same result as you. At that point I gave up -- it's probably
something blindingly obvious, but I have not been able to
spot it.
   

Out of curiosity, did you also try adding /s to the preg_replace
lines in SmartenLinkText and BypassHTML (especially the
latter)?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Well, doh! I knew it would be obvious. Thank you.



  </pre>
</blockquote>
</body>
</html>