Skip to content

Commit

Permalink
fix(dv): Suppress white space at line end pgf-tikz#1112
Browse files Browse the repository at this point in the history
Signed-off-by: muzimuzhi <muzimuzhi@gmail.com>
  • Loading branch information
muzimuzhi committed Dec 20, 2021
1 parent 1ad8f6e commit 9cd4037
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 9cd4037

Please sign in to comment.