File 1351-Move-deprecated-tt-to-its-semantic-equivalent-code.patch of Package erlang

From fe8a5156b467028a4b83787a04d7acae1b0c4358 Mon Sep 17 00:00:00 2001
From: "Paulo F. Oliveira" <paulo.ferraz.oliveira@gmail.com>
Date: Sun, 10 Sep 2023 12:26:07 +0100
Subject: [PATCH 01/15] Move deprecated <tt> to its semantic equivalent <code>

This is context-dependant, so I used code everywhere which is
what seem to make th most sense
---
 lib/edoc/doc/overview.edoc                  | 6 +++---
 lib/edoc/test/edoc_SUITE_data/overview.edoc | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/edoc/doc/overview.edoc b/lib/edoc/doc/overview.edoc
index 487033b871..de1859fd29 100644
--- a/lib/edoc/doc/overview.edoc
+++ b/lib/edoc/doc/overview.edoc
@@ -546,7 +546,7 @@ documentation.
  === Empty lines separate paragraphs ===
 
 Leaving an empty line in XHTML text (i.e., a line which except for
-any leading start-of-comment '<tt>%</tt>' characters contains only
+any leading start-of-comment '<code>%</code>' characters contains only
 whitespace), will make EDoc split the text before and
 after the empty line into separate paragraphs. For example:
 ```%% @doc This will all be part of the first paragraph.
@@ -703,7 +703,7 @@ information. User-defined macros override predefined macros.
 
 <dl>
   <dt><a name="predefmacro-date"><code>@{@date}</code></a></dt>
-      <dd>Expands to the current date, as "<tt>Month Day Year</tt>",
+      <dd>Expands to the current date, as "<code>Month Day Year</code>",
       e.g. "{@date}".</dd>
 
   <dt><a name="predefmacro-link"><code>@{@link <em>reference</em>.
@@ -726,7 +726,7 @@ information. User-defined macros override predefined macros.
       see {@section Headings} for more information.</dd>
 
   <dt><a name="predefmacro-time"><code>@{@time}</code></a></dt>
-      <dd>Expands to the current time, as "<tt>Hr:Min:Sec</tt>",
+      <dd>Expands to the current time, as "<code>Hr:Min:Sec</code>",
       e.g. "{@time}".</dd>
 
   <dt><a name="predefmacro-type"><code>@{@type
diff --git a/lib/edoc/test/edoc_SUITE_data/overview.edoc b/lib/edoc/test/edoc_SUITE_data/overview.edoc
index 0da5a21759..7236acff0f 100644
--- a/lib/edoc/test/edoc_SUITE_data/overview.edoc
+++ b/lib/edoc/test/edoc_SUITE_data/overview.edoc
@@ -432,7 +432,7 @@ documentation.
  === Empty lines separate paragraphs ===
 
 Leaving an empty line in XHTML text (i.e., a line which except for
-any leading start-of-comment '<tt>%</tt>' characters contains only
+any leading start-of-comment '<code>%</code>' characters contains only
 whitespace), will make EDoc split the text before and
 after the empty line into separate paragraphs. For example:
 ```%% @doc This will all be part of the first paragraph.
@@ -583,7 +583,7 @@ information.
 
 <dl>
   <dt><a name="predefmacro-date"><code>@{@date}</code></a></dt>
-      <dd>Expands to the current date, as "<tt>Month Day Year</tt>",
+      <dd>Expands to the current date, as "<code>Month Day Year</code>",
       e.g. "{@date}".</dd>
 
   <dt><a name="predefmacro-docRoot"><code>@{@docRoot}</code></a></dt>
@@ -628,7 +628,7 @@ information.
       {@section Escape sequences} below.)</dd>
 
   <dt><a name="predefmacro-time"><code>@{@time}</code></a></dt>
-      <dd>Expands to the current time, as "<tt>Hr:Min:Sec</tt>",
+      <dd>Expands to the current time, as "<code>Hr:Min:Sec</code>",
       e.g. "{@time}".</dd>
 </dl>
 
-- 
2.35.3

openSUSE Build Service is sponsored by