stringify title to deal with HTML entities
parent
a5d21bddc8
commit
3dad26df48
|
@ -120,9 +120,11 @@ extract_entries = function (blocks)
|
|||
header.attributes.number = nil
|
||||
div.attributes.number = nil
|
||||
|
||||
title_subbed = utils.stringify(header.content)
|
||||
|
||||
entry = {
|
||||
content=div,
|
||||
title=header.content,
|
||||
title=title_subbed,
|
||||
rel=div.attributes.id,
|
||||
pubdate=os.date(rfc3339ish, parse_org_date(div.attributes.pubdate))
|
||||
}
|
||||
|
|
|
@ -30,9 +30,11 @@ extract_entries = function (blocks)
|
|||
header.attributes.number = nil
|
||||
div.attributes.number = nil
|
||||
|
||||
title_subbed = utils.stringify(header.content)
|
||||
|
||||
entry = {
|
||||
content=div,
|
||||
title=header.content,
|
||||
title=title_subbed,
|
||||
rel=div.attributes.id,
|
||||
pubdate=os.date(rfc3339ish, parse_org_date(div.attributes.pubdate))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue