obsidian-tracker: Annotations are broken

Having this code:

searchType: task.done
searchTarget: Walk, Run
datasetName: Walk, Run
folder: Diary
month:
    mode: annotation
    annotation: πŸšΆβ€β™€οΈ,πŸƒβ€β™€οΈ
    startWeekOn: 'Mon'
    todayRingColor: orange
    selectedRingColor: white
    showSelectedValue: false
    todayRingColor: white

It outputs this.

1631664728

if i hover that mountains of text, it’s like this. looks like it prints the html and does not render it.

1631664735

Version 1.10.6

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

no problem. if you need test specific options count on me

It happens on few single value parameters. Will fix it. Really appreciate your report and test.

It works on the calendar but you say that the problem affects the whole YAML options and it’s not fixed there.

Example:

...
line:
    title: Weight Log 🚢
...

1631792755

(yes, i tested 1.10.7 branch)

Thanks for the fix.

Since image tags could be placed in any field in YAML, the problem should be treated more generally. Also, we don’t want to leave any image tags to the SVG graph building.

Thus, all image tags with alt will be replaced by the text in alt, otherwise replaced by empty string. A fix has been committed (3810a63) for this.