From 3f354ce4b806214e82deeb8361dd3fc8590a1261 Mon Sep 17 00:00:00 2001
From: Albert Krewinkel <albert@zeitkraut.de>
Date: Tue, 26 Apr 2022 17:48:27 +0200
Subject: [PATCH] JATS template: unconditionally include permissions element

Fixes a bug that caused license information to be omitted when no copyright
information was provided.

Fixes: #8040
---
 data/templates/article.jats_publishing       | 2 --
 data/templates/default.jats_articleauthoring | 2 --
 2 files changed, 4 deletions(-)

diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 68032992c..f78540fab 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -172,7 +172,6 @@ $if(history)$
 <history>
 </history>
 $endif$
-$if(copyright)$
 <permissions>
 $for(copyright.statement)$
 <copyright-statement>$copyright.statement$</copyright-statement>
@@ -194,7 +193,6 @@ $for(license)$
 </license>
 $endfor$
 </permissions>
-$endif$
 $if(abstract)$
 <abstract>
 $abstract$
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 2c0de2775..c34f2d2f0 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -49,7 +49,6 @@ $endif$
 $endfor$
 </contrib-group>
 $endif$
-$if(copyright)$
 <permissions>
 $for(copyright.statement)$
 <copyright-statement>$copyright.statement$</copyright-statement>
@@ -71,7 +70,6 @@ $for(license)$
 </license>
 $endfor$
 </permissions>
-$endif$
 <abstract>
 $abstract$
 </abstract>