File 1051-Fix-split-list-item-in-xref-documentation.patch of Package erlang

From 65d059c3eb1d21da1f7c76296d76fa643934cd0f Mon Sep 17 00:00:00 2001
From: Ievgen Pyrogov <iamexile@gmail.com>
Date: Sun, 11 Jan 2026 15:31:36 +0100
Subject: [PATCH] Fix split list item in xref documentation

Fixes an issue with a single lit item being split into two
---
 lib/tools/doc/guides/xref_chapter.md | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/tools/doc/src/xref_chapter.xml b/lib/tools/doc/src/xref_chapter.xml
index ec07b5da4a..bb1aa38347 100644
--- a/lib/tools/doc/src/xref_chapter.xml
+++ b/lib/tools/doc/src/xref_chapter.xml
@@ -287,9 +287,8 @@
       <tag><c>xref:q(s,  "X * digraph * range (closure (E | digraph) | (L * digraph))").</c></tag>
       <item>All exported functions of the <c>digraph</c> module
        used (in)directly by some function in <c>digraph</c>.</item>
-      <tag><c>xref:q(s, "L * yeccparser:Mod - range (closure (E |</c></tag>
+      <tag><c>xref:q(s, "L * yeccparser:Mod - range (closure (E | yeccparser:Mod) | (X * yeccparser:Mod))").</c></tag>
       <item></item>
-      <tag><c>yeccparser:Mod) | (X * yeccparser:Mod))").</c></tag>
       <item>The interpretation is left as an exercise. </item>
     </taglist>
   </section>
-- 
2.51.0

openSUSE Build Service is sponsored by