Show first 50 characters in event tooltip

Show first 50 characters in event tooltip

diff --git a/lib/event_updater.rb b/lib/event_updater.rb
index c91bdf2..2a5710a 100644
--- a/lib/event_updater.rb
+++ b/lib/event_updater.rb
@@ -24,7 +24,7 @@ module DiscourseCalendar
       html = (doc.try(:to_html) || html).sub(' → ', '')
 
       detail = [
-        PrettyText.excerpt(html, 30, strip_links: true, text_entities: true),
+        PrettyText.excerpt(html, 50, strip_links: true, text_entities: true),
         from.iso8601.to_s,
         to ? to.iso8601.to_s : nil,
         post.user.username_lower,

GitHub sha: f216ad80

1 Like