Bug#1053305: Fw: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ examples suffer escape damage
Control: tags -1 + patch
наб <nabijaczleweli@nabijaczleweli.xyz> wrote:
> You should have received a copy of the GNU General Public License
> along with this package; if not, see <https://www.gnu.org/licenses/>.
> -- >8 --
> and I almost just copied this into d/copyright verbatim.
>
> Oddly, all other <> pairs, even in those same <pre> hunks,
> are correctly (un)escaped? So unclear to me how this happened.
Using < > entites does not work here.
Should be replaced by < >.
Patch (tested) attached.
--
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/copyright-format-1.0.xml b/copyright-format-1.0.xml
index 954a65b..0920a84 100644
--- a/copyright-format-1.0.xml
+++ b/copyright-format-1.0.xml
@@ -1283,7 +1283,7 @@ License: GPL-2+
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
- along with this package; if not, see <https://www.gnu.org/licenses/>.
+ along with this package; if not, see <https://www.gnu.org/licenses/>.
Comment:
On Debian systems, the full text of the GNU General Public License
version 2 can be found in the file '/usr/share/common-licenses/GPL-2'.
@@ -1363,7 +1363,7 @@ License: GPL-2+
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
- along with this package; if not, see <https://www.gnu.org/licenses/>.
+ along with this package; if not, see <https://www.gnu.org/licenses/>.
Comment:
On Debian systems, the full text of the GNU General Public License
version 2 can be found in the file '/usr/share/common-licenses/GPL-2'.]]></programlisting>
Reply to: