Commit b74ed743 authored by Reuben Pereira's avatar Reuben Pereira

Correct the comment above the Project.markdown_reference_pattern method

parent 28cf16a7
...@@ -460,8 +460,8 @@ class Project < ActiveRecord::Base ...@@ -460,8 +460,8 @@ class Project < ActiveRecord::Base
'>' '>'
end end
# Pattern used to extract `project>` project references from text # Pattern used to extract `namespace/project>` project references from text.
# (?!\w) matches any non-word character # (?!\w) matches any non-word character.
# '>' or its escaped form ('&gt;') are checked for because '>' is sometimes escaped # '>' or its escaped form ('&gt;') are checked for because '>' is sometimes escaped
# when the reference comes from an external source. # when the reference comes from an external source.
def markdown_reference_pattern def markdown_reference_pattern
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment