From 6e80951f49f3bc18b5bdfb7e87bc2e0bcfb4af00 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 26 Nov 2024 13:07:53 -0500 Subject: [PATCH] Fix commit 641a5b7a144 for "nbsp" output in SVG files In commit 641a5b7a144, I removed "nbsp" characters from SVG files, not realizing the SVG files were generated from GV files and that the "nbsp" characters were caused by trailing ASCII spaces in GV files. This commit restores the "nbsp" SVG characters and adds a GV comment about how the trailing spaces cause the "nbsp" output. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/2c5dd601-b245-4092-9c27-6d1ad51609df%40eisentraut.org Backpatch-through: master --- doc/src/sgml/images/genetic-algorithm.gv | 1 + doc/src/sgml/images/genetic-algorithm.svg | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/images/genetic-algorithm.gv b/doc/src/sgml/images/genetic-algorithm.gv index 80c354c2c8b..7912e165dea 100644 --- a/doc/src/sgml/images/genetic-algorithm.gv +++ b/doc/src/sgml/images/genetic-algorithm.gv @@ -36,6 +36,7 @@ digraph { // edges a1 -> a2 -> a3 -> a4; + // these trailing spaces output as "nbsp" (UTF8 NO-BREAK SPACE) a4 -> a5[xlabel="false ", fontsize=10]; a4 -> end[xlabel="true ", fontsize=10]; a5 -> a6 -> a7 -> a8 -> a9; diff --git a/doc/src/sgml/images/genetic-algorithm.svg b/doc/src/sgml/images/genetic-algorithm.svg index 2ce5f1b2712..fb9fdd1ba78 100644 --- a/doc/src/sgml/images/genetic-algorithm.svg +++ b/doc/src/sgml/images/genetic-algorithm.svg @@ -72,7 +72,7 @@ a4->end -true +true   @@ -85,7 +85,7 @@ a4->a5 -false +false