diff --git a/src/includes/markup.commonmark.php b/src/includes/markup.commonmark.php index ea60224..2593015 100644 --- a/src/includes/markup.commonmark.php +++ b/src/includes/markup.commonmark.php @@ -1,4 +1,4 @@ -setUrl(\sprintf(get_mttinfo('url'). "?task=%d", $mention->getIdentifier())); if (!$this->toExternal) { $mention->data->append('attributes/class', 'mtt-link-to-task'); - $mention->data->append('attributes/data-target-id', $attrs['target-id'] = $mention->getIdentifier()); + $mention->data->append('attributes/data-target-id', $mention->getIdentifier()); } return $mention; }, diff --git a/src/includes/markup.parsedown.php b/src/includes/markup.parsedown.php index a65bb3b..60e7caf 100644 --- a/src/includes/markup.parsedown.php +++ b/src/includes/markup.parsedown.php @@ -1,4 +1,4 @@ -