File 0262-Fix-small-documentation-formatting-problems.patch of Package erlang

From aed27dd65c32585de723a76d4a669731723c5e02 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Wed, 20 Jan 2021 15:33:54 +0100
Subject: [PATCH 2/7] Fix small documentation formatting problems

---
 lib/kernel/doc/src/application.xml | 10 +++++-----
 lib/stdlib/doc/src/array.xml       |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml
index 81d97c41bc..72ff7c21ba 100644
--- a/lib/kernel/doc/src/application.xml
+++ b/lib/kernel/doc/src/application.xml
@@ -371,12 +371,12 @@ Nodes = [cp1@cave, {cp2@cave, cp3@cave}]</code>
         <list type="bulleted">
           <item>If a permanent application terminates, all other
            applications and the entire Erlang node are also terminated.</item>
-          <item>
+          <item>If a transient application terminates:
 	    <list type="bulleted">
-	      <item>If a transient application terminates with <c>Reason == normal</c>,
-	      this is reported but no other applications are terminated.</item>
-	      <item>If a transient application terminates abnormally, all other
-	      applications and the entire Erlang node are also terminated.</item>
+	      <item>with <c>Reason == normal</c>, this is reported but no other
+                applications are terminated.</item>
+	      <item>abnormally, all other applications and the entire Erlang
+                node are also terminated.</item>
 	    </list>
 	   </item>
           <item>If a temporary application terminates, this is reported
diff --git a/lib/stdlib/doc/src/array.xml b/lib/stdlib/doc/src/array.xml
index bb18489994..77ce4ad101 100644
--- a/lib/stdlib/doc/src/array.xml
+++ b/lib/stdlib/doc/src/array.xml
@@ -356,9 +356,9 @@ array:new([{size,10},{fixed,false},{default,-1}])</pre>
           Notice that any size specifications in <c><anno>Options</anno></c>
           override parameter <c><anno>Size</anno></c>.</p>
         <p>If <c><anno>Options</anno></c> is a list, this is equivalent to
-          <c>new([{size, <anno>Size</anno>} | <anno>Options</anno>]</c>,
+          <c>new([{size, <anno>Size</anno>} | <anno>Options</anno>])</c>,
           otherwise it is equivalent to <c>new([{size, <anno>Size</anno>} |
-          [<anno>Options</anno>]]</c>. However, using this function directly is
+          [<anno>Options</anno>]])</c>. However, using this function directly is
           more efficient.</p>
         <p><em>Example:</em></p>
         <pre>
-- 
2.26.2

openSUSE Build Service is sponsored by