« Login to iX Connection »

ecto killing whitespace all the time

ecto killing whitespace all the time

Postby oliversturm » 15 Aug 2008 12:04

Using ecto for the Mac, 3.0b47

I'm trying to post pre-formatted text to my blog in two different ways, and both of them don't work because ecto keeps removing whitespace from my posts for no apparent reason. Two examples below:

No 1: Switch ecto to HTML view and paste this piece of HTML code:

<div style="font-family: Consolas; font-size: 11pt; color: black; background: white;">
<p style="margin: 0px;">&nbsp; <span style="color: blue;">public</span> <span style="color: blue;">enum</span> <span style="color: #2b91af;">MyEnum</span> {</p>
<p style="margin: 0px;">&nbsp; &nbsp; FirstElement,</p>
<p style="margin: 0px;">&nbsp; &nbsp; NextElement</p>
<p style="margin: 0px;">&nbsp; }</p>
</div>

As you can see, this includes &nbsp; entities for formatting purposes. Now, switch ecto to the "rich text" view. The formatting will appear correct, with the "middle" two lines indented a bit. Now, switch back to HTML view - now the &nbsp; entities are gone and the formatting is broken.

No 2: Switch to HTML view again and replace all the content with this:

<pre>
blah - indented two spaces
blubber - indented four spaces
</pre>

(This piece of code is intended to contain spaces - I hope they are going to be preserved in this post. EDIT: I just noticed that the spaces don't actually appear on these forums although the editor is still showing them! So note - there are two spaces in front of the line that says "two spaces" and four spaces in front of the line that says "four spaces".)

Switch back to rich text view and the two formatted lines will appear on the same level of indentation. Switch back to HTML and you'll see that the spaces are gone.

This is quite a severe problem for me because it makes it very hard to post code to my blogs. I have experimented with the various different "paste ..." commands on the Edit menu, but I haven't found a way to prevent ecto from killing whitespace simply by switching back and forth between the editing modes. Also, the same thing happens when publishing a post - even if I don't switch editing modes.

Regards
Oliver
oliversturm
 
Posts: 2
Joined: 15 Aug 2008 11:55

Re: ecto killing whitespace all the time

Postby oliversturm » 18 Aug 2008 10:02

Any info on this, please? I can't believe it's hard to reproduce with my instructions!
oliversturm
 
Posts: 2
Joined: 15 Aug 2008 11:55

Re: ecto killing whitespace all the time

Postby artypop1 » 17 Oct 2008 20:57

Same with me. It's really boring... I've just switched from MarsEdit to Ecto because I liked the Rich Mode Feature, but if "&nbsp;" not working, that's annoying...

Can anyone might give us some clue or a workaround ?

Thanks
artypop1
 
Posts: 9
Joined: 17 Oct 2008 20:54

Re: ecto killing whitespace all the time

Postby artypop1 » 19 Oct 2008 09:33

To be fully complete : my blog works with Wordpress.

I've just tried this : I went to the administration panel on wordpress, and put the non-breakins space on the post where i wanted them, then I got back to ecto and refresh the blog. It said that there were differences beetween the post on the server and the post locally (which is quite right, because locally, there's no "&nbsp;"). I've updated the local version and when I opened it all the nonbreakins space where gone...

So, I can't edit the post in ecto without killing all the "&nbsp;" I've put when writing on the server...

I would really like some help on this particular issue...

TIA !
artypop1
 
Posts: 9
Joined: 17 Oct 2008 20:54

Re: ecto killing whitespace all the time

Postby artypop1 » 22 Oct 2008 06:16

Am I the only one who is concerned by this issue ? Or Did I miss something ?

Please ! :-)
artypop1
 
Posts: 9
Joined: 17 Oct 2008 20:54

Re: ecto killing whitespace all the time

Postby blogorama » 22 Oct 2008 07:13

There seem to be a number of people who are concerned with problems in Ecto related to mapping between RichText and XHTML.

However, I haven't seen any messages on this board from the Ecto developers for nearly a week. The word was that with the transfer of Ecto to illumineX, support would be better, but I for one don't see it.

Maybe it's time to bail on Ecto and try MarsEdit?
blogorama
 
Posts: 7
Joined: 16 Oct 2008 03:14

Re: ecto killing whitespace all the time

Postby artypop1 » 22 Oct 2008 08:30

Well... I hope there will be an answer. I just bought ecto and I already bought MarsEdit but I wanted to swith to ecto because of the rich text features...

But I have to say that the programmer for MarsEdit seems more reactive than ecto's staff (perhaps because the recent switch with Illuminex, new programmers just start working on it and there must be tons of new stuff to do). However, I'll stick with MarsEdit for now - anyway, I do prefer the user interface of ME...
artypop1
 
Posts: 9
Joined: 17 Oct 2008 20:54

Re: ecto killing whitespace all the time

Postby taliosnz » 24 Oct 2008 09:39

I for one would realllllllllly love to this problem solved. As with the original poster this is driving me insane when trying to post source code to my blog.

Please Mr Magic Coder Man - free our whitespace please?

mark
taliosnz
 
Posts: 5
Joined: 15 Nov 2007 23:26

Re: ecto killing whitespace all the time

Postby artypop1 » 27 Oct 2008 11:23

Pleassssssse too :-)

anyone on that particular issue about non-breaking whitespace ???
artypop1
 
Posts: 9
Joined: 17 Oct 2008 20:54

Re: ecto killing whitespace all the time

Postby adriaan » 28 Oct 2008 00:10

I have a fix for this, but not sure when the new version will be out. We plan to release a final version 3 soon (i.e. not beta-stamped anymore).
adriaan
Justicar
 
Posts: 802
Joined: 29 Jul 2007 06:30
Location: Japan

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests