summaryrefslogtreecommitdiff
path: root/app/Note.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Note.php')
-rw-r--r--app/Note.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Note.php b/app/Note.php
index cd81946faf..5f003c9cc3 100644
--- a/app/Note.php
+++ b/app/Note.php
@@ -81,9 +81,9 @@ class Note extends GedcomRecord
public function extractNames(): void
{
if ($this->tree->getPreference('FORMAT_TEXT') === 'markdown') {
- $text = Registry::markdownFactory()->markdown()->convertToHtml($this->getNote())->getContent();
+ $text = Registry::markdownFactory()->markdown()->convertToHtml($this->getNote());
} else {
- $text = Registry::markdownFactory()->autolink()->convertToHtml($this->getNote())->getContent();
+ $text = Registry::markdownFactory()->autolink()->convertToHtml($this->getNote());
}