Changeset 50450 in spip-zone


Ignore:
Timestamp:
Aug 13, 2011, 10:40:43 AM (9 years ago)
Author:
brunobergot@…
Message:

xhtml valide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/oembed_pipelines.php

    r47875 r50450  
    66        if ($url_oembed = url_absolue(parametre_url($GLOBALS['meta']['adresse_site'] . '/services/oembed/','url',url_absolue(self())))) {
    77                $page = preg_replace(',</head>,i',
    8                         "\n".'<link rel="alternate" type="application/json+oembed" href="'.$url_oembed.'&format=json" />'.
    9                         "\n".'<link rel="alternate" type="text/xml+oembed" href="'.$url_oembed.'&format=xml" />'."\n".'\0',
     8                        "\n".'<link rel="alternate" type="application/json+oembed" href="'.$url_oembed.'&amp;format=json" />'.
     9                        "\n".'<link rel="alternate" type="text/xml+oembed" href="'.$url_oembed.'&amp;format=xml" />'."\n".'\0',
    1010                        $page, 1);
    1111        }
Note: See TracChangeset for help on using the changeset viewer.