Kompozer 0.8b1 inserts extra <span> tag

Information on the latest release, bug reports, feature discussion.

Moderators: agsone, Main_Dev, Neil Parks, Kaze, gregtutor, BobCP

Kompozer 0.8b1 inserts extra <span> tag

Postby bburtin on Sat Nov 07, 2009 12:39 am

I've been having problems with Kompozer 0.8b1, where it inserts an extra <span> tag like this:

Code: Select all
<span style="font-weight: bold;" /><span style="font-weight: bold;">


Then only one of the <span> tags is closed, so all text afterwards is rendered in bold. Has anyone else seen this? I'm happy to help QA if necessary.

Boris
bburtin
 
Posts: 3
Joined: Fri Nov 06, 2009 1:28 am
Country: United States (us)

Re: Kompozer 0.8b1 inserts extra <span> tag

Postby wink0r on Sat Nov 07, 2009 2:02 am

Many do all styling with css and few design in XHTML, so this may not have been noted before. Thanks for bringing it up.
wink0r
 
Posts: 990
Joined: Tue Aug 28, 2007 10:10 pm
Location: East Coast - USA
Country: United States (us)

Re: Kompozer 0.8b1 inserts extra <span> tag

Postby bburtin on Sat Nov 07, 2009 10:41 pm

No worries. I wasn't intentionally using XHTML. I was just editing a file that a friend of mine created (in Dreamweaver, IIRC). Is there a workaround? How do I tell Kompozer to use CSS instead of XHTML for bold text? I expected it would just use <b>.
bburtin
 
Posts: 3
Joined: Fri Nov 06, 2009 1:28 am
Country: United States (us)

Re: Kompozer 0.8b1 inserts extra <span> tag

Postby wink0r on Sun Nov 08, 2009 1:20 am

In the older versions there has been an option in the options menu to use css styles instead of html tags. Make sure that the check box is checked for css.
wink0r
 
Posts: 990
Joined: Tue Aug 28, 2007 10:10 pm
Location: East Coast - USA
Country: United States (us)

Re: Kompozer 0.8b1 inserts extra <span> tag

Postby bburtin on Wed Nov 18, 2009 12:54 am

The CSS box is checked. There's definitely something funky going on. I was doing some more editing today and ended up with a duplicate <img> tag. The preview showed one copy of the image, but when I opened it in the browser, I saw two copies side-by-side.
bburtin
 
Posts: 3
Joined: Fri Nov 06, 2009 1:28 am
Country: United States (us)


Return to KompoZer Development


Who is online

Users browsing this forum: No registered users and 1 guest