constant UrlEmbedTestBase::FLICKR_OUTPUT_WYSIWYG in URL Embed 8
The expected output of the Flickr URL in a WYSIWYG.
Embeds rendered via the url_embed filter generate XHTML4 markup due to deficiencies with libxml2.
@todo Remove once https://www.drupal.org/node/1333730 lands.
File
- tests/
src/ Functional/ UrlEmbedTestBase.php, line 56 - Contains \Drupal\url_embed\Tests\UrlEmbedTestBase.
Class
- UrlEmbedTestBase
- Base class for all url_embed tests.
Namespace
Drupal\Tests\url_embed\FunctionalCode
const FLICKR_OUTPUT_WYSIWYG = '<a data-flickr-embed="true" href="https://www.flickr.com/photos/peste76/49945030047/" title="Ephemeral by der_peste (on/off), on Flickr"><img src="https://live.staticflickr.com/65535/49945030047_413c0dd459_b.jpg" width="1024" height="683" alt="Ephemeral" /></a><script async="" src="https://embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>';