Incorrectly Rendered Tag Message

Summary

The contents of an annotated tag are rendered on a single line with all newline characters stripped.

Steps to reproduce

Navigate to a repository, press New Tag, and enter a multiple line message in the Message box.

Example Project

Tags page for my test repository - https://gitlab.com/hyper-expanse/tag-test/tags

What is the current bug behavior?

Here's a picture of a multi-line tag annotation being rendered on a single line:

Screenshot_20190525_222301

The rendered markdown is a copy of the annotation entered into the Release notes box.

What is the expected correct behavior?

To not attempt to render a multi-line tag annotation as a single line.

I want to use a multi-line annotation for the purpose of storing my project's release notes.

The community's interest is being tracked in gitlab-ce#20587

Relevant logs and/or screenshots

Screenshot_20190525_222301

Output of checks

This bug happens on GitLab.com

Assignee Loading
Time tracking Loading