gutschilla / elixir-pdf-generator

Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir.
MIT License
335 stars 71 forks source link

Correct type spec #72

Closed rubikill closed 3 years ago

rubikill commented 4 years ago

Correct type spec for content parameter

gutschilla commented 4 years ago

Hi @rubikill , thanks for pointing this out! The spec must by html | {:url, url} | {:html, html} though. I'll fix this.

gutschilla commented 4 years ago

Please see https://github.com/onpointvn/elixir-pdf-generator/compare/feature/update-spec...gutschilla:patch-1

rubikill commented 4 years ago

yeah, that's correct, I miss the {:html, html} case :)

gutschilla commented 3 years ago

Oops, this completely went under my radar. Thanks a lot!