Item2354: ImagePlugin and Preview
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
The following code renders wrong in preview:
%IMAGE{
"http://trunk.foswiki.org/pub/Tasks/WebPreferences/logo.png"
type="float"
href="http://www.foswiki.org/"
}%
view:
in preview:
I pinned down the problem as being between
ImagePlugin and the core function 'Disable links and inputs in preview':
lib/Foswiki/UI/Preview.pm, line 115
# Disable links and inputs in the text
$displayText =~
s#<a\s[^>]*>(.*?)</a>#<span class="foswikiEmulatedLink">$1</span>#gis;
I am guessing, that while Preview.pm is trying to replace links, ImagePlugin still has an
<nop>
or alike in the href attribute.
I don't know, which other codes do generate the same error.
--
AndreLichtsteiner - 13 Nov 2009
Seems still be pending
--
AndreLichtsteiner - 07 Mar 2011
Can't reproduce on latest foswiki and image plugin anymore.
--
MichaelDaum - 09 Jan 2012
Sorry, but the bug is still in the following set-up:
- Foswiki-1.1.4, Tue, 20 Dec 2011, build 13483
- ImagePlugin (2.41, $Rev: 13571 (2012-01-09) $)
- NatEditPlugin (4.50, $Rev: 11307 (2011-04-05) $)
--
AndreLichtsteiner - 10 Jan 2012