File 0509-documentation-fix-XML-linter-error.patch of Package erlang

From 290085f0e65342e7f2bf152ebc5a1a5a23f91107 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Wed, 12 Oct 2022 14:09:52 +0200
Subject: [PATCH] documentation: fix XML linter error

---
 system/doc/reference_manual/typespec.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/system/doc/reference_manual/typespec.xml b/system/doc/reference_manual/typespec.xml
index 9ab409b7ac..75482e5be1 100644
--- a/system/doc/reference_manual/typespec.xml
+++ b/system/doc/reference_manual/typespec.xml
@@ -610,11 +610,10 @@
 
   <note>
     <p>Erlang uses the shorthand version <c>_</c> as an anonymous type variable
-    equivalent to <c>term()</c> or <c>any()</c>. For example, the following function
+    equivalent to <c>term()</c> or <c>any()</c>. For example, the following function</p>
     <pre>  -spec Function(string(), _) -> string().</pre>
-    is equivalent to:
+    <p>is equivalent to:</p>
     <pre>  -spec Function(string(), any()) -> string().</pre>
-    </p>
   </note>
   </section>
 </chapter>
-- 
2.35.3

openSUSE Build Service is sponsored by