Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-05-25 04:35:40

Foxx
Xinha Community Member
Registered: 2005-02-20
Posts: 41

Leftover <p>-tags after removing style

I just downloaded the latest nightly (25th of may today), but I seem to be having trouble removing a style after just inserting it.

When selecting one of the list items in the example page, and then selecting a style through the stylist plugin, it appropriately puts the <p>-tags within the list item and the style changes. However, since having <p> tags within a list item is not desireable, I want to remove it again, but then it turns out it only removes the class attribute of the paragraph-tag, but leaves the paragraph tag itself intact.

Has this already been submitted as a ticket? I couldn't find it, but then again it maybe under some other description.

Also, this brings me to my next problem, of course I can manually delete the <p>-tags from the source view, but I thought maybe HTMLTidy could be able to solve it quickly, but nomatter what I try, as soon as I click on the tidy button, my COMPLETE editor is emptied, nowhere to be found again....

I'm using FireFox 1.0.1 on Windows XPSP2.

When testing the same issue in IE6SP2, my text disappears from the editor without even having to click the tidy button, it happens as soon as I click on view source.

Another thing that I noticed is that when loading Xinha in FF, it goes pretty fast, almost unnoticable, however when loading in IE, it takes quite some time and you see the counter in the lower left corner telling you that only 48 other items are remaining. Can anyone explain what causes the difference?

If any of these issues haven't been submitted as tickets, please let me know and I will do so ASAP.

Foxx

Offline

#2 2005-05-25 05:36:53

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Leftover <p>-tags after removing style

When selecting one of the list items in the example page, and then selecting a style through the stylist plugin, it appropriately puts the <p>-tags within the list item and the style changes. However, since having <p> tags within a list item is not desireable, I want to remove it again, but then it turns out it only removes the class attribute of the paragraph-tag, but leaves the paragraph tag itself intact.

I don't recall any changes that would have just now introduced this, can you check back with an earlier version and see if it's always been like that before submitting a ticket.

Also, this brings me to my next problem, of course I can manually delete the <p>-tags from the source view, but I thought maybe HTMLTidy could be able to solve it quickly,

I wouldn't imagine so, <p> within <li> is AFAIK perfectly valid markup, there is no reason for tidy to remove it.

but nomatter what I try, as soon as I click on the tidy button, my COMPLETE editor is emptied, nowhere to be found again....

Try the SuperClean plugin, HTMLTidy is somewhat deprecated.  However, do submit a ticket for HTMLTidy at low priority (or fix it if you dare).

Another thing that I noticed is that when loading Xinha in FF, it goes pretty fast, almost unnoticable, however when loading in IE, it takes quite some time and you see the counter in the lower left corner telling you that only 48 other items are remaining. Can anyone explain what causes the difference?

Yes, the answer is that IE is shite smile  There havn't been any changes to cause that recently.  Check your cache settings.


James Sleeman

Offline

#3 2005-05-25 19:40:45

Foxx
Xinha Community Member
Registered: 2005-02-20
Posts: 41

Re: Leftover <p>-tags after removing style

gogo wrote:

I don't recall any changes that would have just now introduced this, can you check back with an earlier version and see if it's always been like that before submitting a ticket.

I'll try this with an older version this weekend and post my findings here!

gogo wrote:

but nomatter what I try, as soon as I click on the tidy button, my COMPLETE editor is emptied, nowhere to be found again....

I found out that this isn't due to HTMLTidy, but due to switching to source view, if I switch to source view, the code disappears, and when switching back, it's still gone...

Offline

#4 2005-05-26 02:58:56

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Leftover <p>-tags after removing style

I found out that this isn't due to HTMLTidy, but due to switching to source view, if I switch to source view, the code disappears, and when switching back, it's still gone...

Hmmm.  Strange.  What version IE?


James Sleeman

Offline

#5 2005-05-26 06:22:32

Foxx
Xinha Community Member
Registered: 2005-02-20
Posts: 41

Re: Leftover <p>-tags after removing style

It happens in both IE 6.0.2800.1106.xpsp2.050301-1526 as well as in FF version 1.0.1

I thought it might be due to ZoneAlarm Pro at first (since it doesn't allow me to load xinha in IE either, I have to close it first), but even after shutting it down the problem persists...

Should I submit this as a ticket? Can you reproduce this behaviour?

Offline

#6 2005-06-03 03:39:48

Foxx
Xinha Community Member
Registered: 2005-02-20
Posts: 41

Re: Leftover <p>-tags after removing style

*bump*... has anyone been able to reproduce this behaviour and should I submit it as a ticket?

Offline

Board footer

Powered by FluxBB