NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item1901: Empty list item (trailing space absent) not rendered properly

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Confirmed Engine Foswiki::Render  
If you have a bulleted list in a topic:
   * item #1
   * 
   * item #3
which I made with raw edit, and after the asterisk in the second line I wrote a space,

then the server delivers this source code to the browser:
[...]<ul>
<li> item #1
</li> <li> 
</li> <li> item #3
</li></ul>[...]

In Internet Explorer 6, this would render to:

  • Screenshot of IE 6:
    ulie.jpg

In Firefox 3.0.11, this would render to:

  • Screenshot of Firefox 3.0.11:
    ulff.jpg

If you delete the space after the asterisk in the second line, the server delivers
[...]<ul>
<li> item #1   *
</li> <li> item #3
</li></ul>
which is displayed identical in both browsers:

  • unordered list without space after the asterisk in the second line:
    ulwospace.jpg

ok. Let's edit:

On firefox 3.0.11, the TinyMCE doesn't show the second line and no asterisk:

  • screenshot of TinyMCE with lost asterisk:
    tinymceff.jpg

But TinyMCE adds a space after the asterisk in the second line at save.

On Internet Explorer 6, the TinyMCE doesn't show the second line and deletes the complete line with the asterisk on save. (!!)

Other fun with TinyMCE on Internet Explorer 6: in the above example, you can insert a bunch of list elements between the first and the third item - only with return. But on save this will be reduced to exactly one line with a bullet (asterisk with space after).

If you insert a bunch of lines with 3 spaces, asterisk, one space in the raw editor, the lines were all not displayed. Also the TinyMCE does not show it and deletes all this lines consequently. On firefox this lines were also not displayed, and are not shown in the TinyMCE - but on save not deleted. They are conserved.

-- WolfgangRaus - 07 Aug 2009

We need to be submitting these bugs upstream to moxiecode.

-- PaulHarvey - 21 Oct 2009

Hi Wolfgang, if you have time, could you reproduce with http://trunk.foswiki.org/Sandbox and report it with the TinyMCE project.

If not, please set this task back to "confirmed" and remove your name from the WaitingFor

Thanks smile

-- PaulHarvey - 24 Jun 2010

Sorry Paul, I am not able to do so at the moment :-/

-- WolfgangRaus - 25 Jun 2010

The WYSIWYG artefacts are resolved in/duplicate of Item2605

What remains is for Render.pm to be fixed to display an empty list item (sans even a space).

Re-titled

-- PaulHarvey - 28 Jun 2010

ItemTemplate edit

Summary Empty list item (trailing space absent) not rendered properly
ReportedBy WolfgangRaus
Codebase 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.5, trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component Foswiki::Render
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic attachments
I Attachment Action Size Date Who Comment
tinymceff.jpgjpg tinymceff.jpg manage 6.6 K 07 Aug 2009 - 14:01 WolfgangRaus screenshot of TinyMCE? with lost asterisk
ulff.jpgjpg ulff.jpg manage 4.5 K 07 Aug 2009 - 13:48 WolfgangRaus Screenshot of Firefox 3.0.11
ulie.jpgjpg ulie.jpg manage 6.5 K 07 Aug 2009 - 13:45 WolfgangRaus Screenshot of IE 6
ulwospace.jpgjpg ulwospace.jpg manage 4.1 K 07 Aug 2009 - 13:55 WolfgangRaus unordered list without space after the asterisk in the second line
Topic revision: r5 - 28 Jun 2010 - 04:25:33 - PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads