Skip to content

Commit

Permalink
fix: finding urls in editor blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed May 15, 2020
1 parent 8f11de4 commit 06e82fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mauricerenck/komments",
"version": "0.9.5",
"version": "0.9.6",
"description": "A comment and webmention plugin for Kirby 3",
"type": "kirby-plugin",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "komments",
"version": "0.9.5",
"version": "0.9.6",
"description": "A comment and webmention plugin for Kirby 3",
"main": "index.js",
"author": "Maurice Renck",
Expand Down
2 changes: 1 addition & 1 deletion snippets/mention-type-mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="author-action">
<a href="<?php echo $komment->authorUrl(); ?>" rel="nofollow" target="_blank">
@<?php echo $komment->author(); ?>
<?php echo $komment->author(); ?>
</a>
<?php echo t('mauricerenck.komments.mentioned'); ?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion utils/sendWebmention.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private function parseUrls()
{
$contentFields = [];
foreach ($this->fieldsToParseUrls as $fieldName) {
$contentFields[] = $this->page->content()->$fieldName()->blocks();
$contentFields[] = $this->page->content()->$fieldName()->html();
}

$parseText = implode(' ', $contentFields);
Expand Down

0 comments on commit 06e82fb

Please sign in to comment.