diff options
author | Bruce Momjian <bruce@momjian.us> | 2024-11-26 13:07:53 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2024-11-26 13:08:13 -0500 |
commit | 6e80951f49f3bc18b5bdfb7e87bc2e0bcfb4af00 (patch) | |
tree | c155d80ce4f10154f5ee18837afcc7fd4f2719a9 /doc/src | |
parent | b8f9afc81f26ead612fcfe76301c01d110e36c7e (diff) | |
download | postgresql-6e80951f49f3bc18b5bdfb7e87bc2e0bcfb4af00.tar.gz postgresql-6e80951f49f3bc18b5bdfb7e87bc2e0bcfb4af00.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/images/genetic-algorithm.gv | 1 | ||||
-rw-r--r-- | 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 @@ <title>a4->end</title> <path fill="none" stroke="#000000" d="M259,-312.5834C259,-312.5834 259,-54.659 259,-54.659"/> <polygon fill="#000000" stroke="#000000" points="262.5001,-54.659 259,-44.659 255.5001,-54.6591 262.5001,-54.659"/> -<text text-anchor="middle" x="246" y="-186.6212" font-family="sans-serif" font-size="10.00" fill="#000000">true</text> +<text text-anchor="middle" x="246" y="-186.6212" font-family="sans-serif" font-size="10.00" fill="#000000">true </text> </g> <!-- a5 --> <g id="node7" class="node"> @@ -85,7 +85,7 @@ <title>a4->a5</title> <path fill="none" stroke="#000000" d="M144,-298.269C144,-298.269 144,-286.5248 144,-286.5248"/> <polygon fill="#000000" stroke="#000000" points="147.5001,-286.5248 144,-276.5248 140.5001,-286.5249 147.5001,-286.5248"/> -<text text-anchor="middle" x="127" y="-284.3969" font-family="sans-serif" font-size="10.00" fill="#000000">false</text> +<text text-anchor="middle" x="127" y="-284.3969" font-family="sans-serif" font-size="10.00" fill="#000000">false </text> </g> <!-- a6 --> <g id="node8" class="node"> |