In trunk, please check it.

On May 9, 4:29 am, rixder <pszurp...@gmail.com> wrote:
> Solved...
> I've added:
> div.comment table tbody tr td pre {
>     white-space: pre !important;
>
> }
>
> I think it should be in <pre> inline styles in CODE helper.
> Best Regards.
>
> On 9 Maj, 10:35, rixder <pszurp...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I have comments form with ckeditor and custom button "Paste python
> > code".
> > Pasted (or typed) code is sending to server via Ajax POST and from
> > server
> > is returned html code:
> > def code_py():
> >     raw = request.vars['content']
> >     return CODE(raw, language='python').xml()
>
> > The returned html is inserted to ckeditor area and after submit
> > displayed
> > on page, but:
> > 1. In ckeditor area before submission is displayed in proper way:
> >     1. def test():
> >     2.     pass
> > 2. On page after submit is displayed without spaces:
> >     1. def test():
> >     2. pass
> > 3. On page, when I choose "Ignore style" in browser is displayed in
> > proper way (but without colors):
> >     1. def test():
> >     2.     pass
>
> > Comments are displayed by XML(comment). Where is the problem?
> > Best regards...

Reply via email to