Use of asterisk

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ramon
Regular
Posts: 11
Joined: Wed Apr 27, 2011 1:02 pm

Use of asterisk

Post by ramon »

Hello,

I just found a posting from 2007 saying, that escaping of an asterisk isn't supported by s9y. Is this still unsupported or is it now possible to escape this sign? If yes, how?

Is just wrote an article about some MySQL-stuff and had some minor problems with parts like "SELECT * FROM" :-)

Regards
Ramon
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Use of asterisk

Post by garvinhicking »

Hi!

It would help if you'd reference that specific posting, because I don't know all postings of 2007 by heart. ;))

Basically asterisks can be used. Unless specific markup plugins are involved. then it depends on the markup plugin if and how special characters can be escaped.

You could always try to use a &#xxx; entity to reference special characters if they trigger something else...

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/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Use of asterisk

Post by Timbalu »

As far as I remember the normally installed by default plugin serendipity_event_s9ymarkup takes care about it, so SELECT \* FROM should suffice.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
ramon
Regular
Posts: 11
Joined: Wed Apr 27, 2011 1:02 pm

Re: Use of asterisk

Post by ramon »

Hi Garvin,
garvinhicking wrote:It would help if you'd reference that specific posting, because I don't know all postings of 2007 by heart. ;))
hum?! It's your board and you don't now all postings? Tztz :-)

This is the posting I was talking about => http://board.s9y.org/viewtopic.php?f=2&t=10897
garvinhicking wrote:Basically asterisks can be used. Unless specific markup plugins are involved. then it depends on the markup plugin if and how special characters can be escaped.

You could always try to use a &#xxx; entity to reference special characters if they trigger something else...
We have some markup-plugins in use. GeSHi, NL2BR, Serendipity and Autotitle. And yes. Using &#xxx; is working very well.

regard
Ramon
ramon
Regular
Posts: 11
Joined: Wed Apr 27, 2011 1:02 pm

Re: Use of asterisk

Post by ramon »

Hi Timbalu,
Timbalu wrote:As far as I remember the normally installed by default plugin serendipity_event_s9ymarkup takes care about it, so SELECT \* FROM should suffice.
cool, this is working as well. Thank you! ;)

regards
Ramon
Post Reply