#1120 Fix rendering release file when tag message is just whitespaces
Merged by pingou. Opened by vivekanand1101.
vivekanand1101/pagure isspace  into  master

Download 1120.patch
no initial comment

Took me a while but I found it:

-        {% if tag['objecttype'] == "tag" %}
-          {% if tag['object'].message %}
+        {% if tag['objecttype'] == "tag" and tag['object'].message.strip() %}
+          {% if tag['object'].message.strip() %}

And thinking of it, it makes sense :)

We could even drop the second if here

rebased

Cool,. thanks!

Pull-Request has been merged by pingou

Metadata