Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 5b76927

Browse files
committed
Shorten message
1 parent 8068b48 commit 5b76927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita2idobata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
end
2424

2525
msg << articles.map {|a|
26-
p "New article is posted by <span class='label label-info'>#{a.author.name.content}</span><br /> <b><a href='#{a.link.href}'>#{a.title.content}</a></b>"
26+
p "<span class='label label-info'>#{a.author.name.content}</span> posted <b><a href='#{a.link.href}'>#{a.title.content}</a></b>"
2727
}.join("<br/>")
2828

2929
Idobata::Message.create(source: msg, format: :html) unless msg.empty?

0 commit comments

Comments
 (0)