Hi
Getting real hard time to have the authors description with the proper html. ( ON the admin side )
I'm using ckeditor. On products page, all html is render quite right, but when editing a author, I get a lot of this :
<p><p>&lt;p&gt;&amp;lt;p&amp;gt;Sed aliquam ultrices mauris. Sed fringilla mauris sit amet nibh.
On the books_authors, in case new:
PHP Code:
$author_description_textarea .= '<br>' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . zen_draw_textarea_field('author_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '15', '' );
}
/* zen_draw_textarea_field('author_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars(bookx_get_author_description($aInfo->bookx_author_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE));
*/
But I've tried to do with the htmlspecialchars, but getting no good results.
I see that this is using a fucion to get the authors description. But on post , I haven't find out, how this works....
I've tried seeing the $_POST....
Thanks
Bookmarks