diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-15 17:17:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-15 17:17:09 +0000 |
commit | 780d5fa070ce9a1aaf5642a627f5f1c33cf6c285 (patch) | |
tree | 97fb39f7a8628667e1462bbcbcbd4ded65dcb55d | |
parent | 1c69c43293023c14a58103ccd9260949f8de599b (diff) | |
download | redmine-780d5fa070ce9a1aaf5642a627f5f1c33cf6c285.tar.gz redmine-780d5fa070ce9a1aaf5642a627f5f1c33cf6c285.zip |
Fixed: lines in wiki content containing just a single wiki link are not displayed.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@735 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redcloth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redcloth.rb b/lib/redcloth.rb index 1228af6eb..e1a995da2 100644 --- a/lib/redcloth.rb +++ b/lib/redcloth.rb @@ -839,7 +839,7 @@ class RedCloth < String end end - TEXTILE_REFS_RE = /(^ *)\[([^\n]+?)\](#{HYPERLINK})(?=\s|$)/ + TEXTILE_REFS_RE = /(^ *)\[([^\[\n]+?)\](#{HYPERLINK})(?=\s|$)/ MARKDOWN_REFS_RE = /(^ *)\[([^\n]+?)\]:\s+<?(#{HYPERLINK})>?(?:\s+"((?:[^"]|\\")+)")?(?=\s|$)/m def refs( text ) |