From 88ed8a0c1376fbe6d45059694ce31db597fde3e9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 14 Apr 2020 11:10:59 -0400 Subject: ruby 2.7 fix --- lib/sisu/html_scroll.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sisu/html_scroll.rb') diff --git a/lib/sisu/html_scroll.rb b/lib/sisu/html_scroll.rb index 172a88a4..f2a8bb4f 100644 --- a/lib/sisu/html_scroll.rb +++ b/lib/sisu/html_scroll.rb @@ -209,9 +209,9 @@ module SiSU_HTML_Scroll sto.table elsif dob.is==:break end - if dob =~// \ - and dob =~/^(?:\^~\d+\s|)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though - dob='' + if dob.obj =~// \ + and dob.obj =~/^(?:\^~\d+\s|)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though + dob.obj='' end unless @rcdc @scr[:body] << para_html unless para_html =~/\A\s*\Z/ -- cgit v1.2.3