Skip to content

Commit 06e82fb

Browse files
committed
fix: finding urls in editor blocks
1 parent 8f11de4 commit 06e82fb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mauricerenck/komments",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "A comment and webmention plugin for Kirby 3",
55
"type": "kirby-plugin",
66
"license": "MIT",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "komments",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "A comment and webmention plugin for Kirby 3",
55
"main": "index.js",
66
"author": "Maurice Renck",

snippets/mention-type-mention.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class="author-action">
99
<a href="<?php echo $komment->authorUrl(); ?>" rel="nofollow" target="_blank">
10-
@<?php echo $komment->author(); ?>
10+
<?php echo $komment->author(); ?>
1111
</a>
1212
<?php echo t('mauricerenck.komments.mentioned'); ?>
1313
</div>

utils/sendWebmention.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function parseUrls()
128128
{
129129
$contentFields = [];
130130
foreach ($this->fieldsToParseUrls as $fieldName) {
131-
$contentFields[] = $this->page->content()->$fieldName()->blocks();
131+
$contentFields[] = $this->page->content()->$fieldName()->html();
132132
}
133133

134134
$parseText = implode(' ', $contentFields);

0 commit comments

Comments
 (0)