|
|
@ -401,7 +401,7 @@ get "/watch" do |env|
|
|
|
|
|
|
|
|
|
|
|
|
description = video.description.gsub("<br>", " ")
|
|
|
|
description = video.description.gsub("<br>", " ")
|
|
|
|
description = description.gsub("<br/>", " ")
|
|
|
|
description = description.gsub("<br/>", " ")
|
|
|
|
description = XML.parse_html(description).content[0..200].gsub("\n", " ").strip(" ")
|
|
|
|
description = XML.parse_html(description).content[0..200].gsub('"', """).gsub("\n", " ").strip(" ")
|
|
|
|
if description.empty?
|
|
|
|
if description.empty?
|
|
|
|
description = " "
|
|
|
|
description = " "
|
|
|
|
end
|
|
|
|
end
|
|
|
|