markawesome 0.9.2 → 0.9.3
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 +6 -0
- data/lib/markawesome/transformers/popover_transformer.rb +1 -0
- data/lib/markawesome/version.rb +1 -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: 20d0c286b0e4f28b245d541359c98b945881bafe440ec5e595102c125cb59493
|
|
4
|
+
data.tar.gz: 774a091780c653c76d111dde625ef89b2db808119bcf72be8cb30140fd2288aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbb4bb808ef77a6f2b16cc8d10451c95d9bdf8f4a5d1e43f93a5743887c626a604fe60b8769fa4a44c18f6c2744167efdbf9736239682ba6a2065b7797a936fe
|
|
7
|
+
data.tar.gz: bb55942503875f00151316b6d309ad2fc88407f31de4bcb4da6b5da069b1f961d78a47764916f55c8419a8b85b640732079153350b4ecc5389455fd7305d0d3c
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.9.3] - 2026-03-13
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Inline popover content now supports `\n` escape sequences for line breaks — rendered as `<br>` in HTML output. Useful for structured multi-line content in table cells where actual newlines break markdown table syntax.
|
|
12
|
+
|
|
7
13
|
## [0.9.2] - 2026-03-13
|
|
8
14
|
|
|
9
15
|
### Added
|
|
@@ -129,6 +129,7 @@ module Markawesome
|
|
|
129
129
|
def build_inline_popover_html(popover_id, trigger_text, content_text, options)
|
|
130
130
|
trigger_content = escape_html(trigger_text)
|
|
131
131
|
content_escaped = escape_html(content_text)
|
|
132
|
+
content_escaped = content_escaped.gsub('\n', '<br>')
|
|
132
133
|
|
|
133
134
|
popover_attrs = ["for='#{popover_id}'"]
|
|
134
135
|
popover_attrs << "placement='#{options[:placement]}'"
|
data/lib/markawesome/version.rb
CHANGED