Replaced "new-line" with "space" for Description meta such as for Dublin Core and Open Graph integration (thanks to @jcamp on # 12)
This commit is contained in:
parent
04e4a54701
commit
da1aaf0cdd
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue