diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-09-03 16:38:35 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-09-03 16:38:35 -0400 |
commit | 4bd92e681e0a6d2a8d7e1ef44d9f248394833d09 (patch) | |
tree | dbd9edc770742f1404768232b6c4aa943eef467b /app/views/events/_event_issue.atom.haml | |
parent | e5d89c1084d1c1f29bfabe50718debf8867f760e (diff) | |
download | gitlab-ce-4bd92e681e0a6d2a8d7e1ef44d9f248394833d09.tar.gz |
Return early from markdown and gfm when text is empty
Diffstat (limited to 'app/views/events/_event_issue.atom.haml')
-rw-r--r-- | app/views/events/_event_issue.atom.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/events/_event_issue.atom.haml b/app/views/events/_event_issue.atom.haml index 4259f64c191..4e8d70e4e9d 100644 --- a/app/views/events/_event_issue.atom.haml +++ b/app/views/events/_event_issue.atom.haml @@ -1,3 +1,2 @@ %div{xmlns: "http://www.w3.org/1999/xhtml"} - - if issue.description.present? - = markdown(issue.description, xhtml: true, reference_only_path: false, project: issue.project) + = markdown(issue.description, xhtml: true, reference_only_path: false, project: issue.project) |