Moar Merge
This commit is contained in:
commit
d457b39b06
@ -110,7 +110,11 @@ function plex:get_plex(query)
|
||||
end
|
||||
|
||||
if data.summary then
|
||||
if string.len(data.summary) > 400 then
|
||||
desc = '\n\n<i>'..string.sub(unescape(data.summary:gsub("%b<>", "")), 1, DESC_LENTH)..'...</i>'
|
||||
else
|
||||
desc = '\n\n<i>'..unescape(data.summary)..'</i>'
|
||||
end
|
||||
else
|
||||
desc = ''
|
||||
end
|
||||
@ -121,7 +125,7 @@ function plex:get_plex(query)
|
||||
pic = nil
|
||||
end
|
||||
|
||||
local text = title..tag..from..origtitle..studio..date..episodes..fsk..duration..rating..desc..'\n'
|
||||
local text = title..tag..from..origtitle..studio..date..episodes..fsk..duration..rating..desc
|
||||
return text, pic
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user