diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-10-04 12:49:58 -0400 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-10-04 12:50:22 -0400 |
| commit | c0796ac3d63823f00a5895007fbc7643af6c31a5 (patch) | |
| tree | 52eac37c28db4e06d4854aad1b35257b000e536c | |
| parent | 68be24ffc69bdd38735faaa87a32d885f47f0ec9 (diff) | |
| download | invidious-c0796ac3d63823f00a5895007fbc7643af6c31a5.tar.gz invidious-c0796ac3d63823f00a5895007fbc7643af6c31a5.tar.bz2 invidious-c0796ac3d63823f00a5895007fbc7643af6c31a5.zip | |
Add description to RSS body
| -rw-r--r-- | src/invidious/search.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/invidious/search.cr b/src/invidious/search.cr index 08171ffe..b2fa78f0 100644 --- a/src/invidious/search.cr +++ b/src/invidious/search.cr @@ -24,6 +24,8 @@ struct SearchVideo xml.element("a", href: "#{host_url}/watch?#{query_params}") do xml.element("img", src: "#{host_url}/vi/#{self.id}/mqdefault.jpg") end + + xml.element("p", style: "white-space:pre") { xml.text html_to_content(self.description_html) } end end |
