kiln 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ed9b4f5cdd14178de9a2c3ece073c6a5d07a70f7eb063642e8aa9aee99b1dbf
4
- data.tar.gz: 7e1ae75b320371b33dc381c60c4565024adaf9e2cfa5f9ecff8bac681de0545f
3
+ metadata.gz: 2f32e8bbaa7ee4f8dd14fa25c2303cb0c030e49a899bb73db1b746bdcb177f41
4
+ data.tar.gz: b4adb00dfe11eca35cbb4297e5d48626869e5fa57b0aa16f660eb302b7f7658a
5
5
  SHA512:
6
- metadata.gz: 0e3bab2700e117480fc97eb2b58bf05584034c6cd3d2d687d32580fda405b5ee4a1f09b93774dda48e346f2e080369bd1a8201ae0495219a2e76543d50d114b7
7
- data.tar.gz: 60c4146504eb754b85a4ae33bbe8e5bf4d0f02c3fa6ebec33ef7ae9960586c73a3e0ffe4f84bcc21dd0f38d8f64cc190529c89d514fc7be1bd23ae50c0e8090b
6
+ metadata.gz: 2a5d738c7589388db0f1714d2ba840936412c39b5f05c7a16ca4bc270fa0f27ae02652ed3f00dc343a0bf2cf9cd75e335bdaa141ac8bbbd9d53dd9ffcf388924
7
+ data.tar.gz: 90852ee81ad4e6a60ae7084cf62bc9cdd9beaf0664755adacc713abcf8b6da47031e6bd532603958084863416058f0a31c06a9b3ebe221f333f8a8c910b5c2b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.6 (2026-11-14)
4
+
5
+ Fixed:
6
+
7
+ - Markdown renders a line break inside a paragraph as a space, as CommonMark does, instead of
8
+ `<br>`. Commonmarker turns hardbreaks on by default, so files wrapped at a column rendered a
9
+ break at every wrap. Two trailing spaces or a backslash still break the line.
10
+
3
11
  ## 0.1.5 (2026-11-13)
4
12
 
5
13
  Breaking:
@@ -2,7 +2,9 @@ module Kiln
2
2
  module Content
3
3
  module Markdown
4
4
  OPTIONS = {
5
- render: { unsafe: true },
5
+ # Commonmarker turns hardbreaks on by default. Off, a line break inside a paragraph is a
6
+ # space, as CommonMark says, so files wrapped at a column read as whole paragraphs.
7
+ render: { unsafe: true, hardbreaks: false },
6
8
  extension: { table: true, strikethrough: true, autolink: true, header_ids: "" }
7
9
  }.freeze
8
10
  PLUGINS = { syntax_highlighter: nil }.freeze
data/lib/kiln/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kiln
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiln
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Afonso