bacon-tracker 1.1.1 → 1.1.2
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/bacon_tracker/version.rb +1 -1
- data/lib/bacon_tracker.rb +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 322d2ee34076ea624f44901ff5f2a67ced37ddc3e0d0677ead1cf40c39fc4a94
|
|
4
|
+
data.tar.gz: 1501ba1a4b4aea4e4cd7d6c7e3e8e8bb565e4b99d18624765e06e374e2982dc2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a3ea03b467fb292aec46df928970edf1949b21aa6f8cf1a5d8c76b6426ebc931bec202a07a02985c83620d369aea37e45a21eff7b0f373d80d0a9b0b3bea899
|
|
7
|
+
data.tar.gz: ead2444ec10dd2fd5d16f22e1c243b9f98de2b0b614db513b08d5e7b92cf92e5403b782bbc55841f999b0c9c42f89ba1a0c7f8359c58d7f8d481f37850b201ae
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented here.
|
|
4
4
|
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
## [1.1.2] - 2026-10-23
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Docs pages and decision records no longer all show "could not load" after the first page with a fenced code block. kramdown required Rouge to highlight the block whenever Rouge was installed, and Rouge loaded a second copy of `strscan`, which broke every markdown render after it until the server restarted. Code blocks are now rendered plain, without a syntax highlighter, which is how the page already showed them.
|
|
12
|
+
|
|
6
13
|
## [1.1.1] - 2026-10-21
|
|
7
14
|
|
|
8
15
|
### Fixed
|
data/lib/bacon_tracker.rb
CHANGED
|
@@ -1172,8 +1172,15 @@ module BaconTracker
|
|
|
1172
1172
|
}
|
|
1173
1173
|
end
|
|
1174
1174
|
|
|
1175
|
+
# No syntax highlighter: kramdown defaults to Rouge and requires it on the
|
|
1176
|
+
# first fenced code block if it happens to be installed. Rouge activates
|
|
1177
|
+
# the strscan gem over the already-loaded default one, two StringScanner
|
|
1178
|
+
# types then live in the process, and every parse after that raises - the
|
|
1179
|
+
# whole docs surface goes dark until a restart. Plain <pre><code> is all
|
|
1180
|
+
# the page styles anyway.
|
|
1175
1181
|
def render_markdown(text)
|
|
1176
|
-
doc = Kramdown::Document.new(gfm_table_compat(text), input: 'GFM', hard_wrap: false
|
|
1182
|
+
doc = Kramdown::Document.new(gfm_table_compat(text), input: 'GFM', hard_wrap: false,
|
|
1183
|
+
syntax_highlighter: nil)
|
|
1177
1184
|
sanitize_tree!(doc.root)
|
|
1178
1185
|
doc.to_html
|
|
1179
1186
|
end
|