regex parsing *

Found a bug? Tell us!!
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

regex parsing *

Post by Timbalu »

Hi
If you have a list like this in the Textfield section:

* Baden-Württemberg
* Bayern
* Berlin/Brandenburg
* Hamburg

the * gets parsed by a regex or something so every second value gets a < strong > < \strong >

Does anybody know how to solve this?
Thx.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: regex parsing *

Post by garvinhicking »

Timbalu wrote:Hi
If you have a list like this in the Textfield section:

* Baden-Württemberg
* Bayern
* Berlin/Brandenburg
* Hamburg

the * gets parsed by a regex or something so every second value gets a < strong > < \strong >

Does anybody know how to solve this?
Thx.
Yes, you can remove the event plugin "Markup: Serendipity". That one does a common replacement of "*" and "/" and "_" to bold, italic and underscored text.

And the harm you mention :-)

You could however get around that by using an HTML list.
# 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: regex parsing *

Post by Timbalu »

garvinhicking wrote: Yes, you can remove the event plugin "Markup: Serendipity". That one does a common replacement of "*" and "/" and "_" to bold, italic and underscored text.

And the harm you mention :-)

You could however get around that by using an HTML list.
Thanks Garvin! I didn´t expect it so easy :oops:
Post Reply