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!
quotation marks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: quotation marks
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/