aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2plain.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-10 09:50:06 +0000
committerMario <mario@mariovavti.com>2024-06-10 09:50:06 +0000
commit539ae375532a058496468093a88f0b9b20d4a601 (patch)
tree406173921803f673b59759f5d2ae867e75f231a1 /include/html2plain.php
parent8f41d170a557dfd18caab7e7d8b2405b23b7b2e8 (diff)
downloadvolse-hubzilla-539ae375532a058496468093a88f0b9b20d4a601.tar.gz
volse-hubzilla-539ae375532a058496468093a88f0b9b20d4a601.tar.bz2
volse-hubzilla-539ae375532a058496468093a88f0b9b20d4a601.zip
too many args
Diffstat (limited to 'include/html2plain.php')
-rw-r--r--include/html2plain.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/html2plain.php b/include/html2plain.php
index 88dce577d..69fb5193a 100644
--- a/include/html2plain.php
+++ b/include/html2plain.php
@@ -196,7 +196,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
// Problem: there is no reliable way to detect if it is a link to a tag or profile
//node2bbcode($doc, 'a', array('href'=>'/(.+)/'), ' $1 ', '', true);
- node2bbcode($doc, 'a', array('href'=>'/(.+)/', 'rel'=>'oembed'), ' $1 ', '', true);
+ node2bbcode($doc, 'a', array('href'=>'/(.+)/', 'rel'=>'oembed'), ' $1 ', '');
//node2bbcode($doc, 'img', array('alt'=>'/(.+)/'), '$1', '');
//node2bbcode($doc, 'img', array('title'=>'/(.+)/'), '$1', '');
//node2bbcode($doc, 'img', array(), '', '');
@@ -205,7 +205,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
else
node2bbcode($doc, 'img', array('src'=>'/(.+)/'), '', '');
- node2bbcode($doc, 'iframe', array('src'=>'/(.+)/'), ' $1 ', '', true);
+ node2bbcode($doc, 'iframe', array('src'=>'/(.+)/'), ' $1 ', '');
$message = $doc->saveHTML();