revert swap url-title in json

pull/11/head
David Ordás 2022-09-17 14:47:01 +02:00
parent 8cab19ca3d
commit bdd243733a
No known key found for this signature in database
GPG Key ID: 6FD751229911593E
1 changed files with 1 additions and 1 deletions

View File

@ -184,9 +184,9 @@ function parseListItem(listItem) {
rightParen = -1; // If we need to parse parenthesized text
// head of listItem = url, the rest is "other stuff"
const [link, ...otherStuff] = listItem;
entry.url = link.url;
// link.children || link.value => weak way to check if link.type === "link"
entry.title = getLinkTextFromLinkNodes(link.children || link.value);
entry.url = link.url;
// remember to get OTHER STUFF!! remember there may be multiple links!
for (let i of otherStuff) {
if (s === "") {