aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-22 18:23:37 -0700
committerzotlabs <mike@macgirvin.com>2017-10-22 18:23:37 -0700
commit812d904c98d6fb3a4124f6e2415de5a139f954ce (patch)
treee1ff51523b02433e973118743e30aa9da9230b20 /include/network.php
parentc7d9a5ac91b3d256f31ebada4b38875905addb1f (diff)
downloadvolse-hubzilla-812d904c98d6fb3a4124f6e2415de5a139f954ce.tar.gz
volse-hubzilla-812d904c98d6fb3a4124f6e2415de5a139f954ce.tar.bz2
volse-hubzilla-812d904c98d6fb3a4124f6e2415de5a139f954ce.zip
bring back the markdown post feature (after investing some effort to make it work)
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php
index 7e2dbf4cf..2f29a70c4 100644
--- a/include/network.php
+++ b/include/network.php
@@ -716,6 +716,10 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
$scaled = str_replace($scale_replace[0], $scale_replace[1], $mtch[3]);
else
$scaled = $mtch[3];
+
+ if(! strpbrk(substr($scaled,0,1),'zhfmt'))
+ continue;
+
$i = z_fetch_url($scaled,true);