inukshuk / bibtex-ruby

A BibTeX library, parser, and converter for Ruby.
http://inukshuk.github.com/bibtex-ruby
GNU General Public License v3.0
155 stars 35 forks source link

append a linebreak when serializing non-entry elements #121

Closed grafi-tt closed 7 years ago

grafi-tt commented 7 years ago

Hi,

With current implementation, when we parse and serialize a bib

@string{ foo = "Foo" }
@string{ bar = "Bar" }

then the following is obtained.

@string{ foo = "Foo" }@string{ bar = "Bar" }

I suppose this behaviour is undesirable for most people.

grafi-tt commented 7 years ago

I checked the CI error. Seemingly it is not related to my change.

inukshuk commented 7 years ago

Looks good, thank you!