Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yazver committed Jan 17, 2022
1 parent b211ca2 commit bbba661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ brew install gotidy/tap/x2c
brew install x2c
```

#### Info
#### Info

The [formula in homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/x2c.rb) might be slightly outdated. Use our homebrew tap to always get the latest updates.

Expand Down
2 changes: 1 addition & 1 deletion internal/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (c *Converter) Convert() error {

switch encName, err := htmlindex.Name(encoder); {
case err != nil:
return fmt.Errorf("getting encoder name: %w", c.options.Encoding, err)
return fmt.Errorf("getting encoder name \"%s\": %w", c.options.Encoding, err)
case inStrings(encName, EncodingsWithBOM):
default:
bom = nil
Expand Down

0 comments on commit bbba661

Please sign in to comment.