regex parsing *

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

regex parsing *

Post by Timbalu » Thu May 27, 2004 12:22 pm

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.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: regex parsing *

Post by garvinhicking » Thu May 27, 2004 1:08 pm

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/

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: regex parsing *

Post by Timbalu » Fri May 28, 2004 5:48 pm

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