4chan: fix commentary linebreaks.
This commit is contained in:
@@ -54,7 +54,7 @@ module Source
|
|||||||
commentary = String.new
|
commentary = String.new
|
||||||
|
|
||||||
if post["filename"].present?
|
if post["filename"].present?
|
||||||
commentary << "<a href=\"https://i.4cdn.org/#{board}/#{post["tim"]}#{post["ext"]}\">#{post["filename"]}#{post["ext"]}</a> (#{post["fsize"].to_fs(:human_size)}, #{post["w"]}x#{post["h"]})\n"
|
commentary << "<a href=\"https://i.4cdn.org/#{board}/#{post["tim"]}#{post["ext"]}\">#{post["filename"]}#{post["ext"]}</a> (#{post["fsize"].to_fs(:human_size)}, #{post["w"]}x#{post["h"]})<br>"
|
||||||
end
|
end
|
||||||
|
|
||||||
if post["com"].present?
|
if post["com"].present?
|
||||||
|
|||||||
Reference in New Issue
Block a user