File 0749-Use-c-.-c-in-xml-docs-instead-of.patch of Package erlang

From 7909279e24330bfa5687bbd47d340b85a81b20b9 Mon Sep 17 00:00:00 2001
From: "Paulo F. Oliveira" <paulo.ferraz.oliveira@gmail.com>
Date: Tue, 8 Aug 2023 12:41:27 +0100
Subject: [PATCH] Use <c>...</c> (in xml docs) instead of `...`

The former renders proper HTML, the latter renders actual backticks.
---
 lib/stdlib/doc/src/proc_lib.xml             | 2 +-
 system/doc/reference_manual/expressions.xml | 2 +-
 system/doc/reference_manual/typespec.xml    | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 6b3ba96b6b..0d1fb61d17 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -566,7 +566,7 @@ end]]></code>
 
     <p>Finally, let us assume that <c>a()</c> returns
     <c>-1</c>. Because <c>true = A >= 0</c> uses the match operator
-    `=`, a <c>{badmatch,false}</c> run-time error occurs when the
+    <c>=</c>, a <c>{badmatch,false}</c> run-time error occurs when the
     expression fails to match the pattern.</p>
 
     <p>The example can be written in a less succient way using nested
-- 
2.35.3

openSUSE Build Service is sponsored by