martile 1.1.3 → 1.1.4

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: d02b42427cf165a2e91067e2538c10eb906e5290681b0206cb04f4391d701078
4
- data.tar.gz: cb36282d3613638ab5b0c30c759fd75fdb2601095cabfda3901ee08a430f9c5d
3
+ metadata.gz: 29d892934030bbe7b078a6b709b69a901b19b71c0efa8aa8e836488f07618e9e
4
+ data.tar.gz: 66c3a8ba71dd156a7ed0abdfdc512125b3d4a47865f1c3d2f50930a04084bbda
5
5
  SHA512:
6
- metadata.gz: 1a001aea5799bbcb14ae198c028f0407348a4b7f614bf258cc34fe4f2ddfc02df90e480d0e1ca9a2213199f5942f7e22af6e25254f8765a2e2eb0ac2e6869fb7
7
- data.tar.gz: 7d1a4a1ccbd95678e77d5ee3bf2a78a9995097346946a1b83efbe61be2e49996e335a18d00271c617120080b8776830331ba8eab506d659c4b012e68a4cf1192
6
+ metadata.gz: 1eee1cba62b8cc3c8e59ba7ed11e225c4dbfa6f57dec7dfafe056e7e6fb3c9aa4a4d1d2c91caac371035d46847d378e0bb89ce8c1931455bf6e48eb2c3dd637f
7
+ data.tar.gz: 4ad9fe23a5d9d61c7413faa8e42242d9b0be2a95fe1be552624d188a8e64da1862249ddc9b09a19f3c6dc11749854fa523bdbe80d1cbdc87302fa9da2e9abcd8
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -13,6 +13,8 @@ require 'mindmapdoc'
13
13
  require 'flowchartviz'
14
14
 
15
15
 
16
+ # feature: 11-Feb-2019 An apostrophe used between words is now preserved
17
+ # from Kramdown HTML rendering
16
18
  # feature: 23-Dec-2018 A SectionX or KVX object can now be referenced
17
19
  # from interpolated variables
18
20
  # feature: 17-Dec-2018 Now automatically generates a toc when there are 3
@@ -137,12 +139,13 @@ class Martile
137
139
 
138
140
  @to_s = s240
139
141
 
140
- s250 = Yatoc.new(Kramdown::Document.new(s240).to_html, debug: debug).to_html
141
- puts ('s250: ' + s250.inspect).debug if debug
142
+ s250 = apply_filter(s240) {|x| nomarkdown x }
143
+ s260 = Yatoc.new(Kramdown::Document.new(s250).to_html, debug: debug).to_html
144
+ puts ('s260: ' + s260.inspect).debug if debug
142
145
 
143
146
  #puts 's17 : ' + s17.inspect
144
147
 
145
- @to_html = s250
148
+ @to_html = s260
146
149
 
147
150
  end
148
151
 
@@ -446,6 +449,10 @@ class Martile
446
449
 
447
450
  end
448
451
 
452
+ def nomarkdown(s)
453
+ s.gsub(/\b'\b/,"{::nomarkdown}'{:/}")
454
+ end
455
+
449
456
  def qrcodetag(s)
450
457
 
451
458
  s.gsub(/\B!q\[\]\((https?:\/\/[^\)]+)\)/) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  h9crBM07TwSkUs7Sqw12Wh0aEldB8f+8+8mRzbWrJxdYt0EC7ZeByVSu26XqSA9a
31
31
  QUQ=
32
32
  -----END CERTIFICATE-----
33
- date: 2019-02-03 00:00:00.000000000 Z
33
+ date: 2019-02-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: yatoc
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- |�u�ح%�3���9���@�� @
2
- ;]��h�����A�n������'�˫�U�w3��x�� ��OJ|r*u�������Zm8ЬvGCVS2��9]ǖ����5WؾC��*!Pw��
1
+ �%or�2�9���-�sAo�*���eb\^��4{���ސ���q���U�Xln�����:<�B����i7�u�ʍ���I������ܝ���� 1���3������N�f�j�`�e>��Lz�Y��f���!b���9 �|(s-Xs��-FĢY/3={#��A>�˷� [���b��\`Qo%U���G7F�)�&��+1�ţ�_>X o[S!�P���Օ�譴Z��mɡ�oF��@��W��hv��� $c