diff --git a/frontend/luxl.lua b/frontend/luxl.lua
index 096c37115..5eebda773 100644
--- a/frontend/luxl.lua
+++ b/frontend/luxl.lua
@@ -184,7 +184,7 @@ local LEXER_STATES = {
-- [35-37] handle actual attribute values
{ state = ST_ATTR_VAL2, cclass = CCLASS_QUOTE, next_state = ST_START_TAGNAME_END, event = EVENT_ATTR_VAL },
{ state = ST_ATTR_VAL2, cclass = CCLASS_LETTERS, next_state = ST_ATTR_VAL2, event = EVENT_MARK },
- { state = ST_ATTR_VAL2, cclass = CCLASS_SLASH, next_state = ST_ATTR_VAL2, event = EVENT_NONE },
+ { state = ST_ATTR_VAL2, cclass = CCLASS_SLASH, next_state = ST_ATTR_VAL2, event = EVENT_MARK },
-- [38] End of table marker
{ state = ST_ERROR, cclass = CCLASS_NONE, next_state = ST_ERROR, event = EVENT_NONE }
diff --git a/spec/unit/opdsparser_spec.lua b/spec/unit/opdsparser_spec.lua
index 6e1a633b3..2e54cdcc6 100644
--- a/spec/unit/opdsparser_spec.lua
+++ b/spec/unit/opdsparser_spec.lua
@@ -145,10 +145,10 @@ Title:
en
1
-
-
-
-
+
+
+
+
@@ -183,6 +183,8 @@ describe("OPDS parser module", function()
assert.truthy(entries)
assert.are.same(#entries, 2)
local entry = entries[2]
+ --DEBUG(entry)
assert.are.same(entry.title, "1000 Mythological Characters Briefly Described")
+ assert.are.same(entry.link[1].href, "//www.gutenberg.org/ebooks/42474.epub.images")
end)
end)