[kupu-dev] why is kupu converting br to p ?
Esko Virtanen
esko.virtanen at sll.fi
Mon Feb 16 15:48:28 CET 2009
Mon, 16 Feb 2009 12:54:40 +0000, Esko Virtanen wrote:
>> At 10:19 AM 7/18/2008, Simon Michael wrote:
>>>CMS users want to add br tags sometimes, using Kupu's HTML mode. But
>>>when switching to HTML mode, existing br tags are converted to p.
>>>
>>>I see this with Kupu 1.4.6 and 1.4.10 in all browsers. This is with
>>>Plone 2.5. Both Kupu control panel and portal_transforms seem to allow
>>>br tags by default. Using the correct <br /> form doesn't make a
>>>difference.
>>>
>>>Help ? What's going on ?
>
>
> Fri, 18 Jul 2008 11:27:21 -0700, Alex Man wrote:
>> Simon,
>>
>> I'm using Kupu 1.4.10 and it doesn't convert <br /> tag to <p> when I
>> switch back and forth between WYSISYG mode and HTML mode or when I save
>> the page.
>>
>> By the way, you can create a line break <br /> by pressing Shift+Enter
>> in the WYSISYG mode.
>>
>> Regards,
>>
>> Alex
>
>
> I'm using Kupu-1.4.12 and it DOES convert <br /> tag to <p>. This
> happens with FF2, FF3 and Opera in 20 different Plone-sites. The problem
> started after upgrading kupu from 1.3.9 to 1.4.12 and Plone form 2.5.3
> to 2.5.5.
>
> Plone 2.5.5,
> CMF-1.6.4,
> Zope (Zope 2.9.8-final, python 2.4.4, linux2), Five 1.3.10,
> Python 2.4.4,
> PIL 1.1.6
>
> Help? Is there some setting for this or is this a bug?
>
> Esko
I downloaded kupu svn:
svn co http://codespeak.net/svn/kupu/trunk/kupu
and made a test install. Still get the same error
<br /> is replaced with <p>&nsbp;</p> when switching between HTML and
WYSIWYG or when I save the page.
I have been fighting with this for a while.
I need a <br />!
:)
Esko
More information about the kupu-dev
mailing list