aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-26 15:21:21 -0700
committerFriendika <info@friendika.com>2011-08-26 15:21:21 -0700
commit144f241c5daa56428113dd53138002f40fd7cb44 (patch)
tree6955a706983dca6cdb1bfaca093d3aaa8b317369 /include
parent506853adcdc0229c5b1b9c96e319f99c589c967f (diff)
downloadvolse-hubzilla-144f241c5daa56428113dd53138002f40fd7cb44.tar.gz
volse-hubzilla-144f241c5daa56428113dd53138002f40fd7cb44.tar.bz2
volse-hubzilla-144f241c5daa56428113dd53138002f40fd7cb44.zip
fix bad embeds
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0d901a3c0..3353cb2b7 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -80,6 +80,9 @@ function localize_item(&$item){
}
+ // fix bad embeds
+ $item['body'] = str_replace('http://www.youtube.com/embed/http:','http:',$item['body']);
+
}
/**