summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2024-05-12resolves #470 do not crash on an SVG image inside table cell (#473)Marat Radchenko
closes #471
2024-05-12resolves #472 fix crash when section title contains inline anchorMarat Radchenko
2024-05-12fix gepub 1.0.16 compatibilityMarat Radchenko
2024-01-31resolves #463 add support for blocks in calloutsMarat Radchenko
2024-01-17stop packaging samples into gem (#462)Marat Radchenko
2024-01-16Drop MOBI support (#458)Marat Radchenko
Amazon is slowly killing it, it's just a question of time when it fully dies. References: * https://kdp.amazon.com/en_US/help/topic/GULSQMHU5MNH4EZM > Starting August 1, 2021, we will no longer support MOBI files for reflowable eBooks. Use EPUB, DOCX or KPF to publish new or update reflowable eBooks. * https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA > Beginning in late 2022, you'll no longer be able to send MOBI (.AZW, .MOBI) files to your Kindle library using Send to Kindle. This change won't affect any MOBI files already in your Kindle library. You can still read them with Kindle. MOBI is an older file format and won't support the newest Kindle features for documents. * https://www.reddit.com/r/kindle/comments/16rw6e3/amazon_announcement_about_mobi_support_timeline/ > We will end all Send to Kindle support for MOBI files by December 20, 2023. * https://www.mobileread.com/forums/showthread.php?t=336365 > Does anyone still have Kindle Previewer installer older than 3.49 that you could share? The reason I am looking for it is because newer versions no longer open .mobi files.
2024-01-08resolves #417 use safe filenames for chapter files (#434)Marat Radchenko
2024-01-08Update rubocop-rspec requirement from ~> 2.11.1 to ~> 2.20.0 (#457)dependabot[bot]
Updates the requirements on [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.11.1...v2.20.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07resolves #447 fix duplicate HTML IDs in case the same footnote is used ↵Marat Radchenko
multiple times
2024-01-07remove compatibility code for pre-2.0 Asciidoctor (#456)Marat Radchenko
2024-01-07resolves #443 escape double quotes in alt text (#455)Marat Radchenko
2024-01-07Update rubocop requirement from ~> 1.28.2 to ~> 1.50.2 (#454)dependabot[bot]
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.28.2...v1.50.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07bump oldest supported Ruby & Asciidoctor (#452)Marat Radchenko
2023-04-19Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0 (#440)magentastripe-20240607dependabot[bot]
* Update pygments.rb requirement from ~> 2.3.0 to ~> 2.4.0 Updates the requirements on [pygments.rb](https://github.com/pygments/pygments.rb) to permit the latest version. - [Release notes](https://github.com/pygments/pygments.rb/releases) - [Changelog](https://github.com/pygments/pygments.rb/blob/master/CHANGELOG.adoc) - [Commits](https://github.com/pygments/pygments.rb/compare/v2.3.0...v2.4.0) --- updated-dependencies: - dependency-name: pygments.rb dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Fix tests --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marat Radchenko <marat@slonopotamus.org>
2021-04-28resolves #363: reenable dependency on kindlegen gem (#398)Marat Radchenko
This commit also drops support for Ruby < 2.4 This reverts commit 33e27eeb21fb62f1e82767f9957a0a03fa35c722.
2021-04-18resolves #396 add support for :back-cover-image: document attributeMarat Radchenko
2021-01-08use pygments.rb 2.0.0 in CI (#387)Marat Radchenko
2020-11-25resolves #382 use width attribute if image width is in pixels (#384)Marat Radchenko
otherwise, use CSS style because HTML5 only allows pixels in width="..." See https://www.w3.org/TR/2011/WD-html5-20110113/the-map-element.html#attr-dim-width > The width and height attributes on img, iframe, embed, object, video, and, when their type attribute is in the Image Button state, > input elements may be specified to give the dimensions of the visual content of the element (the width and height respectively, > relative to the nominal direction of the output medium), in CSS pixels. > The attributes, if specified, must have values that are valid non-negative integers.
2020-10-18resolves #375 fix crash when inline pass macro `m` contains an iconMarat Radchenko
2020-10-15resolves #371 do not add bogus entries to manifest when :data-uri: attribute ↵Marat Radchenko
is set
2020-09-22resolves #370 do not add multiple entries for same media files in book manifestMarat Radchenko
2020-08-25see #363: drop dependency on kindlegen gem to unblock CI (#364)Marat Radchenko
2020-08-17resolves #360 fix crash when encountering unsupported Asciidoctor nodeMarat Radchenko
Broken by 87b135d61aa12d8706b9b00fcaca75d6bda36a88
2020-08-13resolves #358 fix quotes not being properly escaped in section titles (#359)Marat Radchenko
2020-07-26resolves #353 gracefully handle invalid `:front-cover-image:` value (#354)Marat Radchenko
2020-07-09resolves #350 add support for cell content alignment & column width (#351)Marat Radchenko
2020-07-03resolves #10 add support for MathML via AsciiMath (#346)Marat Radchenko
2020-07-02resolves #123 remove <b> from chapter subtitle (#345)Marat Radchenko
2020-07-01resolves #174 add support for inline TOC (#342)Marat Radchenko
2020-06-21resolves #339 store syntax highlighter CSS in a separate file (#340)Marat Radchenko
2020-05-18resolves #334 add remote media URLs to EPUB manifest (#335)Marat Radchenko
2020-04-17resolves #327 add customizable splitting into chapters (#328)Marat Radchenko
2020-03-12resolves #165 add support for `[horizontal]` definition list (#170)Garrett D'Amore
2020-03-12fix files not being unzipped when 'ebook-extract' attribute is usedMarat Radchenko
Unzipping was broken due to fixes for CVE-2018-1000544 in rubyzip: [1], [2]. Also, see [3]. [1]: rubyzip/rubyzip#371 [2]: rubyzip/rubyzip#376 [3]: rubyzip/rubyzip#354
2020-03-12fix inline-image fixture book to actually use inline imageMarat Radchenko
2020-03-12resolves #9 add basic audio and video support (#323)Marat Radchenko
2020-03-04resolves #307 add series metadata (#321)Marat Radchenko
2020-03-03see #317 more xref anchor testsMarat Radchenko
2020-03-03resolves #317 add xref ids to paragraphs (#319)Marat Radchenko
2020-03-03fix spec scopes in xref_spec.rbMarat Radchenko
2020-03-03resolves #317 fix `<<anchor,link text>>` to show link text (#318)Marat Radchenko
2020-03-03resolves #262 support syntax highlighting with CodeRay and Rouge (#316)Marat Radchenko
2020-03-01resolves #20 support section numbering and captions (PR #314)Marat Radchenko
2020-03-01Add support for heredoc documents in test suite (PR #313)Marat Radchenko
2020-02-29test that appendix properly gets its own chapter fileMarat Radchenko
2020-02-25resolves #304 add basic support for multi-part books (PR #311)Marat Radchenko
2020-02-25include id and role for inline quoting (PR #308)lulalala
Based on Asciidoctor::Converter::Html5Converter. * allowing wrapping with <span> * allowing specifying id * allowing specifying class via role
2020-02-25resolves #303 add support for book preamble (PR #310)Marat Radchenko
2020-02-24uncomment SVG test given that gepub 1.0.11 is outMarat Radchenko
2020-02-24add support for multiple authors in book metadata (PR #309)Marat Radchenko
remove (for now) attributed creator links for books because Kindle can't handle them closes #109