Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.1

Bug #20501 oEmbed discovery: support whitespace
Submitted: 2015-02-14 02:26 UTC
From: cweiske Assigned:
Status: Open Package: Services_oEmbed (version 0.2.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 23 + 31 = ?

 
 [2015-02-14 02:26 UTC] cweiske (Christian Weiske)
Description: ------------ See http://code.google.com/p/digg/issues/detail?id=5 I have an oEmbed disovery URL listed in http://ohnopub.net/pix/?id=6215 . All of http://ohnopub.net/pix/ is reformatted by tidy for readability and slight insurance of conformance. This causes the <link /> elements to be split across multiple lines: `` <link rel="alternate" type="text/xml+oembed" href= "http://ohnopub.net/pix/oembed.php?url=http%3A%2F%2Fohnopub.net%2Fpix%2F%3Fid%3D6215&format=xml" title="phppix" /> '' The regex of Services_oEmbed does not support whitespace between attribute names and values. I am not sure where it is valid to have whitespace: maybe whitespace is allowed between ``href'' and ``=''? But I do know that whitespace is allowed after the equal sign and before the value because of Tidy's output and http://validator.w3.org/'s approval of my content.

Comments