[pmwiki-users] ExtendedMarkup WikiWord Error
John Rankin
john.rankin at affinity.co.nz
Thu Mar 31 16:43:11 CST 2005
On Friday, 1 April 2005 8:55 AM, Stan Ritchie <stan at ritchietribe.net> wrote:
> Hi Patrick,
>
> I did add the /s option to the other lines. 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. The cell itself includes a flash.swf
>attachment. 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. It seems to be contained
>in the extendmarkup.php changes.
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
<[^>]+ newline
and
newline [^<]+>
and changes the newline to space. This is a quick patch,
not a proper solution. But by my tests the following now
works correctly:
< stuff
more stuff inside the tag
yet more stuff >
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.
>
...
>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)?
Well, doh! I knew it would be obvious. Thank you.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list