Page 1 of 1

Why does serendipity still use relic html code ?

Posted: Sun Feb 26, 2006 4:30 am
by jbalmer
I recently downloaded serendipity and installed on my machine. And overall I am really satisfied with the performance and structure of this well designed blog. In fact, I find this blog much more powerful and flexible than the more popular wordpress.

But I have a query regarding HTML markup. I found that when you use the WYSIWYG editing mode, the editor uses old form of html markup.

For example, for text bold it uses <b> instead of the more recent <strong> . For font changes, it uses <font> tag instead of the <span style="font-family:"> tag and so on.

I believe the new form of markup is preferred by many over the old form of mark up. Of course I could code the whole thing by hand but I would have liked it if the editor handled this for me.

Is there any way I could make the Bold button to insert <strong> tag instead of the <b> tag it inserts now?

Thanks

Re: Why does serendipity still use relic html code ?

Posted: Sun Feb 26, 2006 6:24 pm
by garvinhicking
The problem is that we are using the htmlarea WYSIWYG editing control, which is a tool on its own and we only bundle it with Serendipty. We have little expertise in tuning this javascript, so we are required to use what it uses.

However it is possible to use FCKEditor, XINHA or TinyMCE as WYSIWYG editors in serendipity. Maybe some of them do not impose those HTML problems?

If anyone here is familiar with htmlarea and could help us to tweak its output so that it is more compliant to nowadays HTML, that help would be truly appreciated!

Best regards,
Garvin