Page 1 of 1

quotation marks

Posted: Tue Feb 22, 2005 10:30 am
by stefan
Hello!
I need your help..
Is ist possible, that serendipity converts these quotation marks " " in these ones: << >> ? (automaticall in every post or comment when I write something...)
Can I edit some file or something like that? Or is it impossible?

Thank you very much for your help!

Re: quotation marks

Posted: Tue Feb 22, 2005 10:48 am
by garvinhicking
This is impossible because quotation marks are also used for HTML tags like <a href="">. If those marks would be replaced by others, the HTML markup would no longer work.

It would require quite an intense and hard to develop Regular Expression to only replace quotes outside of HTML tags, so I'm afraid this won't be possible.

What you could do is add a button for the quotation marks to the editor interface (where you already can insert bold and italique markup) so that you can insert the quotes in one click. That however would require Serendipity 0.8

Regards,
Garvin