00149: Markup for [[PITS/target | text]]

Summary: Markup for text?
Created: 2004-11-10 09:44
Status: Closed - fixed for 2.0.devel26
Category: Bug
From: Klonk
Priority: 2
Version: 2.0devel25

Description: leading spaces of the alternate text are converted to the link: e.g. Text gives ' Text' as link, shoudl give IMHO 'Text' as link.

solution: change Regex from: "/\\[\\[([^|\\]]+)\\|(.*?)\\s*\\]\\]($SuffixPattern)/e" to: "/\\[\\[([^|\\]]+)\\|\\s*(.*?)\\s*\\]\\]($SuffixPattern)/e"