livetext 0.8.33 → 0.8.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df60ead0ee6fb4295cd981133e686424af6d2f81
4
- data.tar.gz: 646b805ad54f8d8c1c0b15dd86e14f9e29d747e8
3
+ metadata.gz: c530b41a9e09b07500ba162a39281433ea9a3077
4
+ data.tar.gz: 8d647b896eb978609138466b71f9b6945fa34e96
5
5
  SHA512:
6
- metadata.gz: f7a63bfe6e9351ee87748ade335b850f31bff34a14d5568254cc7c6f969e92c8df5be6466056096b971c5cdfe720161aaed122e403e0766bdab66d34b35b4772
7
- data.tar.gz: be3d3fd1abbf10208b760159ac5878a92b2c5bffe5b39ad520eec570169e2f664f83869b894bcb9fc5bb4594e4402b63ceb114705eda0b0f1101524bfb99e5af
6
+ metadata.gz: 1737173d2b27d3c7661afe2a9cc73af36f7a49a09ab1b771b24347b4346bb9109a2bf106b6eb0a0b77978e523c4b10f14e481229fb7e91aab2a70262ec3b2164
7
+ data.tar.gz: 03509140d2029abadfd7888a506039f453d7fd8644f2150c5d75ae8c51e0ebb1db48b9aeaba80da41a40d2e2e5bafa1f93ef6738fdfb862f0e08593d8294237c
@@ -1,5 +1,5 @@
1
1
  class Livetext
2
- VERSION = "0.8.33"
2
+ VERSION = "0.8.34"
3
3
  end
4
4
 
5
5
  $Livetext = Livetext
@@ -306,7 +306,7 @@ module Livetext::Standard
306
306
  maxw = nil
307
307
  lines.each do |line|
308
308
  _formatting(line) # May split into multiple lines!
309
- line.gsub!("\n", "")
309
+ line.gsub!(/\n+/, "<br>")
310
310
  cells = line.split(delim)
311
311
  wide = cells.map {|x| x.length }
312
312
  maxw = [0] * cells.size
@@ -1,3 +1,13 @@
1
1
  Testing heredocs (used in a table)
2
2
  <p>
3
3
 
4
+ <br><center><table border=1 width=90% cellpadding=5>
5
+ <tr>
6
+ <td>This is <br>only <br>a test.<br></td>
7
+ <td>This is <br>just <br>some <br>random text.<br></td>
8
+ </tr>
9
+ <tr>
10
+ <td>And so<br>is this.<br></td>
11
+ <td>This is <br>row 2<br>col 2<br></td>
12
+ </tr>
13
+ </table>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.33
4
+ version: 0.8.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton