Sorry not sorry.
11 |Sorry not sorry.
11 |This is a test of the HTML5 parser.
19 |This is a test.
9 | 10 | -------------------------------------------------------------------------------- /packages/graphql-wordpress-middleware/vendor/masterminds/html5/test/HTML5/Parser/EventStackError.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |This is a test.
9 | 10 | -------------------------------------------------------------------------------- /packages/graphql-wordpress-middleware/vendor/masterminds/html5/test/HTML5/Parser/InstructionProcessorMock.php: -------------------------------------------------------------------------------- 1 | name = $name; 16 | $this->data = $data; 17 | $this->count ++; 18 | 19 | $div = $element->ownerDocument->createElement("div"); 20 | $div->nodeValue = 'foo'; 21 | 22 | $element->appendChild($div); 23 | 24 | return $div; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /packages/graphql-wordpress-middleware/vendor/masterminds/html5/test/HTML5/Parser/UTF8UtilsTest.php: -------------------------------------------------------------------------------- 1 | assertEquals('éà a', $out); 12 | } 13 | 14 | /** 15 | * @todo add tests for invalid codepoints 16 | */ 17 | public function testCheckForIllegalCodepoints() { 18 | $smoke = "Smoke test"; 19 | $err = UTF8Utils::checkForIllegalCodepoints($smoke); 20 | $this->assertEmpty($err); 21 | 22 | $data = "Foo Bar \0 Baz"; 23 | $errors = UTF8Utils::checkForIllegalCodepoints($data); 24 | $this->assertContains('null-character', $errors); 25 | } 26 | } -------------------------------------------------------------------------------- /packages/graphql-wordpress-middleware/vendor/masterminds/html5/test/HTML5/TestCase.php: -------------------------------------------------------------------------------- 1 |Something went wrong.
; 19 | } 20 | return this.props.children; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /packages/relay-wordpress/src/containers/Media.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { graphql, createFragmentContainer } from 'react-relay'; 3 | import Image from 'containers/Image'; 4 | 5 | type MediaProps = { 6 | crop: string, 7 | media: Object, 8 | }; 9 | 10 | const Media = ({ media, crop = 'large' }: MediaProps) => { 11 | switch (media.__typename) { 12 | case 'Image': 13 | return