diff --git a/frontend/ui/opdsparser.lua b/frontend/ui/opdsparser.lua
index a1321b3a9..91ba4cfa8 100644
--- a/frontend/ui/opdsparser.lua
+++ b/frontend/ui/opdsparser.lua
@@ -78,16 +78,11 @@ function OPDSParser:parse(text)
text = text:gsub('
, the other two forms are valid in HTML, but will kick luxl's ass
+ -- luxl is also particular about the syntax for self-closing, empty & orphaned tags...
+ text = text:gsub("<(%l+)/>", "<%1 />")
+ -- We also need to handle the slash-less variants for br & hr...
text = text:gsub("
", "
")
- text = text:gsub("
", "
")
- -- Same deal with hr
text = text:gsub("