Skip to content

v0.1.3

  • v0.1.3
  • ff1f4e8
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • v0.1.3
  • ff1f4e8
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@efrecon efrecon tagged this 23 Sep 12:34
* Add control of the XML declaration

Add a command-line option and environment variable to control the XML
declaration. This allows to completely remove it, but also (most
usually) to ensure its quoting style. This is because the underlying XML
library will sometimes use single quotes, while the rest of the content
is using double quotes. Apart for providing an option to enforce the
style, the implementation is also able to detect the style of the
reformatted output and apply it to the declaration. The heuristic
prefers double quotes.

* Improve code quality and fix one possible bug

Improve code quality by making it more concise and fixing copy/paste
mistakes. Fix a bug on the find() method that returns a -1 value when
not found.

* Improve code further

Using not in is more idiomatic.

* Fix bullet style
Assets 2
Loading