diff --git a/lib/routes/eventbrite/events.ts b/lib/routes/eventbrite/events.ts index 152eb39ba..bedc5a680 100644 --- a/lib/routes/eventbrite/events.ts +++ b/lib/routes/eventbrite/events.ts @@ -54,7 +54,7 @@ export const route: Route = { const items = eventListEl.map((item, index): DataItem => { const el = $(item); const a = el.find('.event-card-details a.event-card-link').first(); - const fallbackTitle = a.attr('aria-label') || a.text() || a.toString(); + const fallbackTitle = a.attr('aria-label') || a.text() || a.html(); const eventData = eventsData[index]; if (eventData === undefined) { diff --git a/lib/routes/hex-rays/index.ts b/lib/routes/hex-rays/index.ts index 3644c57ed..692d803ed 100644 --- a/lib/routes/hex-rays/index.ts +++ b/lib/routes/hex-rays/index.ts @@ -52,7 +52,7 @@ async function handler(/* ctx*/): Promise { item.category = content('.div.topics > a') .toArray() .map((ele) => content(ele).text()); - item.description = content('.post-body').toString(); + item.description = content('.post-body').html(); return item; }) ) as Promise[]