aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-05-14 15:08:04 +0200
committerThomas Lange <code@nerdmind.de>2017-05-14 15:08:04 +0200
commitd6d0d9fa8ed37109edde4f52a7db4c5a288ee711 (patch)
treee7fffe26593f886998afe04aee36872015625069
parenteaf02a11bec54a783b0312fd496315883426c989 (diff)
downloadblog-d6d0d9fa8ed37109edde4f52a7db4c5a288ee711.tar.gz
blog-d6d0d9fa8ed37109edde4f52a7db4c5a288ee711.tar.xz
blog-d6d0d9fa8ed37109edde4f52a7db4c5a288ee711.zip
Disable the automatic linking of URLs which are not explicitly wrapped around "<" and ">" in markdown syntax.
-rw-r--r--core/namespace/Item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/namespace/Item.php b/core/namespace/Item.php
index f1a0988..3192d05 100644
--- a/core/namespace/Item.php
+++ b/core/namespace/Item.php
@@ -81,6 +81,7 @@ abstract class Item implements ItemInterface {
$item = "{$this->Reflection->getNamespaceName()}\\Item";
$Parsedown = new Parsedown();
+ $Parsedown->setUrlsLinked(FALSE);
$content = $this->getBody();
if(\Application::get($item::CONFIGURATION.'.EMOTICONS') === TRUE) {