I have checked the source code and there is no addition of a space in the
output that is then removed by one browser but not another. I have tested
with Safari 3, Firefox 2 and IE7 (not IE6) and source input is identical.
See the bottom of the reference [1] topic, where I have created lists, some
with spaces after the wiki list identifier and others where there are no
spaces.
Where I had a space
* first line
I get a <li> first line</li>
Where I have no space
*second line
I get <li>second line</li>
In both cases the output of the standard CSS for FlexWiki gives correct
output.
If you are using the 'content' CSS modifier for a list then you should see
my sample at [2], where I explicitly add a space to li.before so that there
is one there all the time.
If this does not help please feel free to create a brief sample on a webpage
at ods.dyndns.org and let me know when it is there so that I can see a coded
sample of the issue, rather than just an explanation which may not get
across the problem.
[1] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/Test.html[2]
http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/FleXhtmlDemo.html
John Davidson
On 1/24/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> another FlexWiki issue that bugs me: FlexWiki inserts a space between list
> tags and its contents:
>
> <ul>
> <li> List item</li>
> </ul>
>
> What I do is via javascript I insert spans at the top of <li> contents.
> Unfortunately, IE6 silently removes the leading space character when
> generating the dom while Firefox leaves it there. So the resulting thing
> is
>
> <li><span /> List item</li>
>
> in Firefox and
>
> <li><span />List item</li>
>
> in IE. This time I'm happy about the IE way, because the needless space in
> Firefox ruins my layout...
>
> The solution would be to find the code in the FlexWiki sourcecode that
> adds (or doesn't remove) this whitespace and fix this. I already looked
> through the code but wasn't able to find the right place due to my poor
> knowledge of FlexWikis inner workings...
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flexwiki-users