4chan: fix commentary linebreaks.

This commit is contained in:
evazion
2022-11-20 14:34:25 -06:00
parent d63d0b1adc
commit d99da72744

View File

@@ -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?