Skip to content

Commit

Permalink
provide interpolated title
Browse files Browse the repository at this point in the history
  • Loading branch information
piascikj committed Sep 26, 2024
1 parent 2cf08de commit 79bc0d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ module.exports = function newCard(task, _project, dontParse) {
)
const formattedRawMarkdown = this.formatContent(rawMarkdown, true).content
const { html, truncHtml } = this.getHtml(content)
const title = this.format(this.text, true)
return {
title,
html,
truncHtml,
encodedText,
Expand Down

0 comments on commit 79bc0d8

Please sign in to comment.