aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/html_scroll.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-14 11:10:59 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-09 20:40:02 -0400
commit88ed8a0c1376fbe6d45059694ce31db597fde3e9 (patch)
tree4fb95449893c488b2954bf432db4997829f54284 /lib/sisu/html_scroll.rb
parentemacs sisu-mode.el, syntax highlighting match https (diff)
ruby 2.7 fix
Diffstat (limited to 'lib/sisu/html_scroll.rb')
-rw-r--r--lib/sisu/html_scroll.rb6
1 files changed, 3 insertions, 3 deletions
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 =~/<a name="n\d+">/ \
- and dob =~/^(?:\^~\d+\s|<!e[:_]\d+!>)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though
- dob=''
+ if dob.obj =~/<a name="n\d+">/ \
+ and dob.obj =~/^(?:\^~\d+\s|<!e[:_]\d+!>)/ # 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/