Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6e80951

Browse files
committed
Fix commit 641a5b7 for "nbsp" output in SVG files
In commit 641a5b7, 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
1 parent b8f9afc commit 6e80951

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/src/sgml/images/genetic-algorithm.gv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ digraph {
3636

3737
// edges
3838
a1 -> a2 -> a3 -> a4;
39+
// these trailing spaces output as "nbsp" (UTF8 NO-BREAK SPACE)
3940
a4 -> a5[xlabel="false ", fontsize=10];
4041
a4 -> end[xlabel="true ", fontsize=10];
4142
a5 -> a6 -> a7 -> a8 -> a9;

doc/src/sgml/images/genetic-algorithm.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)