summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-31 22:16:49 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-31 22:16:49 -0400
commit00032e11122463a3b69babc464caa26783c7c644 (patch)
treed192a12bf7d213b094498cc63cf6242d40f5b62b
parent3fd0a9693dc666478b29c85a045be3b084bc37e2 (diff)
Allow the oEmbed <link> tag to be split across lines
-rw-r--r--extlib/Services/oEmbed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/Services/oEmbed.php b/extlib/Services/oEmbed.php
index 7d507b6f6..b05e3a1d1 100644
--- a/extlib/Services/oEmbed.php
+++ b/extlib/Services/oEmbed.php
@@ -303,7 +303,7 @@ class Services_oEmbed
// Find all <link /> tags that have a valid oembed type set. We then
// extract the href attribute for each type.
$regexp = '#<link([^>]*)type="' .
- '(application/json|text/xml)\+oembed"([^>]*)>#i';
+ '(application/json|text/xml)\+oembed"([^>]*)>#im';
$m = $ret = array();
if (!preg_match_all($regexp, $body, $m)) {