lib/imperituroard/projects/mhub/subs/dabrab/dabrab_proced.rb in imperituroard-1.1.23 vs lib/imperituroard/projects/mhub/subs/dabrab/dabrab_proced.rb in imperituroard-1.1.24
- old
+ new
@@ -67,10 +67,13 @@
text = text.gsub(image_dat[0][0], "")
end
rescue
nil
end
- text = text.gsub(/\s+$/, '').gsub(/\n$/, '')
+
+ #corrected text rewrite for arutskiy. commented 20210921
+ #we don't need do any text changes
+ #text = text.gsub(/\s+$/, '').gsub(/\n$/, '')
if button_url != "" && button_text != "" && image != "" #111
scheme = 2
elsif button_url != "" && button_text != "" && image == "" #110