plurimath 0.8.19 → 0.8.20

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: c4e85060f4518be4f3e9a5c711949f75cbc9305b139c78b3305c7af8beff7774
4
- data.tar.gz: 2119f426507bc22d27c98989f1841c584f2691451afd6962637c725c9c1762a7
3
+ metadata.gz: 674b18bd19282809f8e45b8d14b8249e67d7a80ae73df51bd678b2d15658dc36
4
+ data.tar.gz: a08def1749cece90982daf3ee329aa8a0a363d22fccceda9d41952f5f5d80afe
5
5
  SHA512:
6
- metadata.gz: a6d57d80296f733bf0980788e91c94a6ac0d3b525edc0e2276a3d55120d14cbc2976e9beadcfdd46320fcf4f57690f15d9dbe4313a59a2fd74723c68565546d7
7
- data.tar.gz: bda92db07c284ac005ef82d255a0c60e85935805d2f8fa66db56b73272c0c90e9daa4c6e99df69cf77cd47678bfadf8b50ae715d2264d4d853848d4514ead7a4
6
+ metadata.gz: 626a181a170618aab1033863339c9423c2b85d76baa6eca4dfb68b5fd5cb01f37714456dc023b565784256ecb8e4bb170708185fe29a2ff8cb089df26300c5e2
7
+ data.tar.gz: 228a1da3ed8378fcf82b2c894b1a056d83c03a2d88d40ed0059312937a2104280cdbeaf65801b2c2c35d0c4f573a318d6987eaecc29f57a99b7c732fb17b6c23
@@ -108,7 +108,10 @@ module Plurimath
108
108
  end
109
109
 
110
110
  def t_tag(options:)
111
- Utility.ox_element("t", namespace: "m") << (value || to_omml_without_math_tag(nil, options: options))
111
+ output = value || to_omml_without_math_tag(nil, options: options)
112
+ return t_element unless output
113
+
114
+ t_element << output
112
115
  end
113
116
 
114
117
  def separate_table
@@ -158,6 +161,10 @@ module Plurimath
158
161
 
159
162
  private
160
163
 
164
+ def t_element
165
+ Utility.ox_element("t", namespace: "m")
166
+ end
167
+
161
168
  def explicit_checks(unicode)
162
169
  return true if [unicode, value].any? { |v| ["∣", "|"].include?(v) }
163
170
  return true if unicode_const(:ACCENT_SYMBOLS).has_value?(value)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plurimath
4
- VERSION = "0.8.19"
4
+ VERSION = "0.8.20"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plurimath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.19
4
+ version: 0.8.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-19 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ox