diff --git a/ksopengraph.xml b/ksopengraph.xml
index af5d7db..dc9be27 100644
--- a/ksopengraph.xml
+++ b/ksopengraph.xml
@@ -6,7 +6,7 @@
Copyright (C) 2024 Sergey Kuznetsov
MIT
mediafoks@google.com
- 1.1.7
+ 1.2.0
PLG_CONTENT_KS_OPEN_GRAPH_XML_DESCRIPTION
Joomla\Plugin\Content\KsOpenGraph
diff --git a/services/provider.php b/services/provider.php
index d3a72a3..9e554d4 100644
--- a/services/provider.php
+++ b/services/provider.php
@@ -27,7 +27,7 @@
*
* @return void
*
- * @since 1.1.7
+ * @since 1.2.0
*/
public function register(Container $container)
{
diff --git a/src/Extension/KsOpenGraph.php b/src/Extension/KsOpenGraph.php
index 9dc13d5..e36412f 100644
--- a/src/Extension/KsOpenGraph.php
+++ b/src/Extension/KsOpenGraph.php
@@ -1,7 +1,7 @@
getApplication();
@@ -210,7 +226,7 @@ public function onContentAfterDisplay(AfterDisplayEvent $event): void
$this->renderTag('og:site_name', $config->get('sitename'), $type);
$this->renderTag('og:title', $thisTitle, $type);
- $this->renderTag('og:description', mb_strimwidth(strip_tags($thisDescription), 0, 300, "..."), $type);
+ $this->renderTag('og:description', $this->catStr($thisDescription), $type);
$this->renderTag('og:url', Uri::current(), $type);
$this->renderTag('og:image', $this->setImage($this->realCleanImageURL($thisImage)), $type);
$this->renderTag('og:type', $thisOgType, $type);
diff --git a/update.xml b/update.xml
index 49121af..0d82d45 100644
--- a/update.xml
+++ b/update.xml
@@ -5,9 +5,9 @@
ksopengraph
plugin
content
- 1.1.7
+ 1.2.0
- https://github.com/mediafoks/plg_content_ksopengraph/archive/refs/tags/v1.1.7.zip
+ https://github.com/mediafoks/plg_content_ksopengraph/archive/refs/tags/v1.2.0.zip
stable