Skip to content

Commit

Permalink
fix(dv): Suppress white space at line end #1112
Browse files Browse the repository at this point in the history
Signed-off-by: muzimuzhi <[email protected]>
  • Loading branch information
muzimuzhi committed Dec 20, 2021
1 parent cefe1dc commit b8bab5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/generic/pgf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ lot of contributed changes. Thanks to everyone who volunteered their time!
- Add empty Pattern dictionary to Resources dictionary
- Spelling and typo fixes in the manual
- Update Debian installation instructions
- Suppress white space at line end when `datavisualization` reads from a file
#1112

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@

\def\pgf@partext{\par}%
\def\pgf@datagroup@readline{%
\endlinechar=-1 % suppress white space at end; this is local to `\pgfdata`
\immediate\read\r@pgf@reada to \pgf@temp%
\ifx\pgf@temp\pgf@partext%
\pgf@dv@format@emptyline%
Expand Down

0 comments on commit b8bab5e

Please sign in to comment.