diff --git a/helper.php b/helper.php index 7950d3b..a2e003b 100644 --- a/helper.php +++ b/helper.php @@ -126,7 +126,7 @@ class helper_plugin_semantic extends DokuWiki_Plugin { $user_data = $auth->getUserData($this->getAuthorID()); $license_url = $license['url']; $page_url = wl($this->page, '', true); - $description = $this->getDescription(); + $description = str_replace("\n", ' ', $this->getDescription()); $created = date(DATE_W3C, $this->getCreatedDate()); $modified = date(DATE_W3C, $this->getModifiedDate()); $title = (isset($this->meta['title']) ? $this->meta['title'] : $this->page); diff --git a/plugin.info.txt b/plugin.info.txt index 4af6a18..2f43ff7 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base semantic author Giuseppe Di Terlizzi email giuseppe.diterlizzi@gmail.com -date 2018-08-15 +date 2018-08-25 name Semantic Plugin desc Add Semantic Data in DokuWiki url http://www.dokuwiki.org/plugin:semantic