Skip to content

Commit

Permalink
Merge pull request #1117 from muzimuzhi/dv-line-end
Browse files Browse the repository at this point in the history
fix(dv): Suppress white space at line end
  • Loading branch information
hmenke authored Dec 22, 2021
2 parents 8ec2edb + 9cd4037 commit af5107d
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 af5107d

Please sign in to comment.