Changeset 1206
- Timestamp:
- 08/07/2008 08:24:55 AM (2 years ago)
- Files:
-
- 1 modified
-
branches/1.1.6.6/formatters/wakka.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1.6.6/formatters/wakka.php
r1161 r1206 312 312 else if (preg_match("/^\[\[(\S*)(\s+(.+))?\]\]$/s", $thing, $matches)) # recognize forced links across lines 313 313 { 314 list (, $url, , $text) = $matches; 315 if ($url) 314 if (isset($matches[1])) // url? 316 315 { 317 316 //if ($url!=($url=(preg_replace("/@@|££||\[\[/","",$url))))$result="</span>"; 318 if (!$text) $text = $url; 317 $text = ''; 318 $url = $matches[1]; 319 if (isset($matches[3])) $text = $matches[3]; // forced link title 319 320 //$text=preg_replace("/@@|££|\[\[/","",$text); 320 321 return $result.$wakka->Link($url, "", $text);