aboutsummaryrefslogtreecommitdiffstats
path: root/include/markdownify
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-05 21:41:58 -0700
committerfriendica <info@friendica.com>2012-08-05 21:41:58 -0700
commitc673c70c25143f18b2ef6aef9ee6633d0eac46ae (patch)
treea5e242bc114a08cd7a46868e56f5159075f3e7fe /include/markdownify
parent4f645992100a9c2a9877548b37cf4f78b4c6a160 (diff)
downloadvolse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.tar.gz
volse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.tar.bz2
volse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.zip
updates
Diffstat (limited to 'include/markdownify')
-rw-r--r--include/markdownify/markdownify.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/markdownify/markdownify.php b/include/markdownify/markdownify.php
index 7bbf1cbbe..0d4429a01 100644
--- a/include/markdownify/markdownify.php
+++ b/include/markdownify/markdownify.php
@@ -686,6 +686,10 @@ class Markdownify {
# [1]: mailto:mail@example.com Title
$tag['href'] = 'mailto:'.$bufferDecoded;
}
+
+ $this->out('['.$buffer.']('.$tag['href'].' "'.$tag['title'].'")', true);
+
+/*
# [This link][id]
foreach ($this->stack['a'] as $tag2) {
if ($tag2['href'] == $tag['href'] && $tag2['title'] === $tag['title']) {
@@ -699,6 +703,7 @@ class Markdownify {
}
$this->out('['.$buffer.']['.$tag['linkID'].']', true);
+*/
}
}
/**
@@ -737,7 +742,7 @@ class Markdownify {
// ![Alt text](/path/to/img.jpg "Optional title")
if ($this->parser->tagAttributes['title'] != "")
- $this->out('!['.$this->parser->tagAttributes['alt'].']('.$this->parser->tagAttributes['src'].'"'.$this->parser->tagAttributes['title'].'")', true);
+ $this->out('!['.$this->parser->tagAttributes['alt'].']('.$this->parser->tagAttributes['src'].' "'.$this->parser->tagAttributes['title'].'")', true);
else
$this->out('!['.$this->parser->tagAttributes['alt'].']('.$this->parser->tagAttributes['src'].')', true);