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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fbaa15349c093e2848703332cdd25b5dc7493b4a9fbf4f410f718fbd00a943d
4
- data.tar.gz: ee7f2ffc8fb093ac98d05d560c9815e46496c419dbaf6bc554a5148bcd40295b
3
+ metadata.gz: 20d0c286b0e4f28b245d541359c98b945881bafe440ec5e595102c125cb59493
4
+ data.tar.gz: 774a091780c653c76d111dde625ef89b2db808119bcf72be8cb30140fd2288aa
5
5
  SHA512:
6
- metadata.gz: 5e951b88f04f20952958fd0fde52279ca9b3d5f406fe65518da281aa2556b73c56d2b017598673d8c0d8f3004838b5494e1ed884200c0b1b1d720894db540698
7
- data.tar.gz: 825d98fe6f73de0fcfad58c2c4b03a39c05dd8ed0781b730f279f87484e86b18b139c218b1e8c59d0ec86137dce9d1297d8cf3c9b7b74006667da63511c0d83b
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]}'"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Markawesome
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markawesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janne Waren