Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HTML excess whitespace from block fixtures #8384

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__animoto.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/animoto {"url":"https://animoto.com/"} -->
<figure class="wp-block-embed-animoto wp-block-embed">
https://animoto.com/
<figcaption>Embedded content from animoto</figcaption>
</figure>
https://animoto.com/
<figcaption>Embedded content from animoto</figcaption></figure>
<!-- /wp:core-embed/animoto -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__cloudup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/cloudup {"url":"https://cloudup.com/"} -->
<figure class="wp-block-embed-cloudup wp-block-embed">
https://cloudup.com/
<figcaption>Embedded content from cloudup</figcaption>
</figure>
https://cloudup.com/
<figcaption>Embedded content from cloudup</figcaption></figure>
<!-- /wp:core-embed/cloudup -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__collegehumor.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/collegehumor {"url":"https://collegehumor.com/"} -->
<figure class="wp-block-embed-collegehumor wp-block-embed">
https://collegehumor.com/
<figcaption>Embedded content from collegehumor</figcaption>
</figure>
https://collegehumor.com/
<figcaption>Embedded content from collegehumor</figcaption></figure>
<!-- /wp:core-embed/collegehumor -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__dailymotion.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/dailymotion {"url":"https://dailymotion.com/"} -->
<figure class="wp-block-embed-dailymotion wp-block-embed">
https://dailymotion.com/
<figcaption>Embedded content from dailymotion</figcaption>
</figure>
https://dailymotion.com/
<figcaption>Embedded content from dailymotion</figcaption></figure>
<!-- /wp:core-embed/dailymotion -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__facebook.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/facebook {"url":"https://facebook.com/"} -->
<figure class="wp-block-embed-facebook wp-block-embed">
https://facebook.com/
<figcaption>Embedded content from facebook</figcaption>
</figure>
https://facebook.com/
<figcaption>Embedded content from facebook</figcaption></figure>
<!-- /wp:core-embed/facebook -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__flickr.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/flickr {"url":"https://flickr.com/"} -->
<figure class="wp-block-embed-flickr wp-block-embed">
https://flickr.com/
<figcaption>Embedded content from flickr</figcaption>
</figure>
https://flickr.com/
<figcaption>Embedded content from flickr</figcaption></figure>
<!-- /wp:core-embed/flickr -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__funnyordie.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/funnyordie {"url":"https://funnyordie.com/"} -->
<figure class="wp-block-embed-funnyordie wp-block-embed">
https://funnyordie.com/
<figcaption>Embedded content from funnyordie</figcaption>
</figure>
https://funnyordie.com/
<figcaption>Embedded content from funnyordie</figcaption></figure>
<!-- /wp:core-embed/funnyordie -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__hulu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/hulu {"url":"https://hulu.com/"} -->
<figure class="wp-block-embed-hulu wp-block-embed">
https://hulu.com/
<figcaption>Embedded content from hulu</figcaption>
</figure>
https://hulu.com/
<figcaption>Embedded content from hulu</figcaption></figure>
<!-- /wp:core-embed/hulu -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__imgur.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/imgur {"url":"https://imgur.com/"} -->
<figure class="wp-block-embed-imgur wp-block-embed">
https://imgur.com/
<figcaption>Embedded content from imgur</figcaption>
</figure>
https://imgur.com/
<figcaption>Embedded content from imgur</figcaption></figure>
<!-- /wp:core-embed/imgur -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__instagram.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/instagram {"url":"https://instagram.com/"} -->
<figure class="wp-block-embed-instagram wp-block-embed">
https://instagram.com/
<figcaption>Embedded content from instagram</figcaption>
</figure>
https://instagram.com/
<figcaption>Embedded content from instagram</figcaption></figure>
<!-- /wp:core-embed/instagram -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__issuu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/issuu {"url":"https://issuu.com/"} -->
<figure class="wp-block-embed-issuu wp-block-embed">
https://issuu.com/
<figcaption>Embedded content from issuu</figcaption>
</figure>
https://issuu.com/
<figcaption>Embedded content from issuu</figcaption></figure>
<!-- /wp:core-embed/issuu -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__kickstarter.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/kickstarter {"url":"https://kickstarter.com/"} -->
<figure class="wp-block-embed-kickstarter wp-block-embed">
https://kickstarter.com/
<figcaption>Embedded content from kickstarter</figcaption>
</figure>
https://kickstarter.com/
<figcaption>Embedded content from kickstarter</figcaption></figure>
<!-- /wp:core-embed/kickstarter -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__meetup-com.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/meetup-com {"url":"https://meetup.com/"} -->
<figure class="wp-block-embed-meetup-com wp-block-embed">
https://meetup.com/
<figcaption>Embedded content from meetup-com</figcaption>
</figure>
https://meetup.com/
<figcaption>Embedded content from meetup-com</figcaption></figure>
<!-- /wp:core-embed/meetup-com -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__mixcloud.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/mixcloud {"url":"https://mixcloud.com/"} -->
<figure class="wp-block-embed-mixcloud wp-block-embed">
https://mixcloud.com/
<figcaption>Embedded content from mixcloud</figcaption>
</figure>
https://mixcloud.com/
<figcaption>Embedded content from mixcloud</figcaption></figure>
<!-- /wp:core-embed/mixcloud -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__photobucket.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/photobucket {"url":"https://photobucket.com/"} -->
<figure class="wp-block-embed-photobucket wp-block-embed">
https://photobucket.com/
<figcaption>Embedded content from photobucket</figcaption>
</figure>
https://photobucket.com/
<figcaption>Embedded content from photobucket</figcaption></figure>
<!-- /wp:core-embed/photobucket -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__polldaddy.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/polldaddy {"url":"https://polldaddy.com/"} -->
<figure class="wp-block-embed-polldaddy wp-block-embed">
https://polldaddy.com/
<figcaption>Embedded content from polldaddy</figcaption>
</figure>
https://polldaddy.com/
<figcaption>Embedded content from polldaddy</figcaption></figure>
<!-- /wp:core-embed/polldaddy -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__reddit.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/reddit {"url":"https://reddit.com/"} -->
<figure class="wp-block-embed-reddit wp-block-embed">
https://reddit.com/
<figcaption>Embedded content from reddit</figcaption>
</figure>
https://reddit.com/
<figcaption>Embedded content from reddit</figcaption></figure>
<!-- /wp:core-embed/reddit -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__reverbnation.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/reverbnation {"url":"https://reverbnation.com/"} -->
<figure class="wp-block-embed-reverbnation wp-block-embed">
https://reverbnation.com/
<figcaption>Embedded content from reverbnation</figcaption>
</figure>
https://reverbnation.com/
<figcaption>Embedded content from reverbnation</figcaption></figure>
<!-- /wp:core-embed/reverbnation -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__screencast.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/screencast {"url":"https://screencast.com/"} -->
<figure class="wp-block-embed-screencast wp-block-embed">
https://screencast.com/
<figcaption>Embedded content from screencast</figcaption>
</figure>
https://screencast.com/
<figcaption>Embedded content from screencast</figcaption></figure>
<!-- /wp:core-embed/screencast -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__scribd.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/scribd {"url":"https://scribd.com/"} -->
<figure class="wp-block-embed-scribd wp-block-embed">
https://scribd.com/
<figcaption>Embedded content from scribd</figcaption>
</figure>
https://scribd.com/
<figcaption>Embedded content from scribd</figcaption></figure>
<!-- /wp:core-embed/scribd -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__slideshare.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/slideshare {"url":"https://slideshare.com/"} -->
<figure class="wp-block-embed-slideshare wp-block-embed">
https://slideshare.com/
<figcaption>Embedded content from slideshare</figcaption>
</figure>
https://slideshare.com/
<figcaption>Embedded content from slideshare</figcaption></figure>
<!-- /wp:core-embed/slideshare -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__smugmug.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/smugmug {"url":"https://smugmug.com/"} -->
<figure class="wp-block-embed-smugmug wp-block-embed">
https://smugmug.com/
<figcaption>Embedded content from smugmug</figcaption>
</figure>
https://smugmug.com/
<figcaption>Embedded content from smugmug</figcaption></figure>
<!-- /wp:core-embed/smugmug -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__soundcloud.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/soundcloud {"url":"https://soundcloud.com/"} -->
<figure class="wp-block-embed-soundcloud wp-block-embed">
https://soundcloud.com/
<figcaption>Embedded content from soundcloud</figcaption>
</figure>
https://soundcloud.com/
<figcaption>Embedded content from soundcloud</figcaption></figure>
<!-- /wp:core-embed/soundcloud -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__speaker.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/speaker {"url":"https://speaker.com/"} -->
<figure class="wp-block-embed-speaker wp-block-embed">
https://speaker.com/
<figcaption>Embedded content from speaker</figcaption>
</figure>
https://speaker.com/
<figcaption>Embedded content from speaker</figcaption></figure>
<!-- /wp:core-embed/speaker -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__spotify.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/spotify {"url":"https://spotify.com/"} -->
<figure class="wp-block-embed-spotify wp-block-embed">
https://spotify.com/
<figcaption>Embedded content from spotify</figcaption>
</figure>
https://spotify.com/
<figcaption>Embedded content from spotify</figcaption></figure>
<!-- /wp:core-embed/spotify -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__ted.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/ted {"url":"https://ted.com/"} -->
<figure class="wp-block-embed-ted wp-block-embed">
https://ted.com/
<figcaption>Embedded content from ted</figcaption>
</figure>
https://ted.com/
<figcaption>Embedded content from ted</figcaption></figure>
<!-- /wp:core-embed/ted -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__tumblr.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/tumblr {"url":"https://tumblr.com/"} -->
<figure class="wp-block-embed-tumblr wp-block-embed">
https://tumblr.com/
<figcaption>Embedded content from tumblr</figcaption>
</figure>
https://tumblr.com/
<figcaption>Embedded content from tumblr</figcaption></figure>
<!-- /wp:core-embed/tumblr -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__twitter.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/twitter {"url":"https://twitter.com/automattic"} -->
<figure class="wp-block-embed-twitter wp-block-embed">
https://twitter.com/automattic
<figcaption>We are Automattic</figcaption>
</figure>
https://twitter.com/automattic
<figcaption>We are Automattic</figcaption></figure>
<!-- /wp:core-embed/twitter -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__videopress.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/videopress {"url":"https://videopress.com/"} -->
<figure class="wp-block-embed-videopress wp-block-embed">
https://videopress.com/
<figcaption>Embedded content from videopress</figcaption>
</figure>
https://videopress.com/
<figcaption>Embedded content from videopress</figcaption></figure>
<!-- /wp:core-embed/videopress -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__vimeo.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/vimeo {"url":"https://vimeo.com/"} -->
<figure class="wp-block-embed-vimeo wp-block-embed">
https://vimeo.com/
<figcaption>Embedded content from vimeo</figcaption>
</figure>
https://vimeo.com/
<figcaption>Embedded content from vimeo</figcaption></figure>
<!-- /wp:core-embed/vimeo -->
3 changes: 1 addition & 2 deletions core-blocks/test/fixtures/core-embed__wordpress-tv.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/wordpress-tv {"url":"https://wordpress.tv/"} -->
<figure class="wp-block-embed-wordpress-tv wp-block-embed">
https://wordpress.tv/
<figcaption>Embedded content from wordpress-tv</figcaption>
</figure>
<figcaption>Embedded content from wordpress-tv</figcaption></figure>
<!-- /wp:core-embed/wordpress-tv -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__wordpress.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/wordpress {"url":"https://wordpress.com/"} -->
<figure class="wp-block-embed-wordpress wp-block-embed">
https://wordpress.com/
<figcaption>Embedded content from WordPress</figcaption>
</figure>
https://wordpress.com/
<figcaption>Embedded content from WordPress</figcaption></figure>
<!-- /wp:core-embed/wordpress -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core-embed__youtube.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core-embed/youtube {"url":"https://youtube.com/"} -->
<figure class="wp-block-embed-youtube wp-block-embed">
https://youtube.com/
<figcaption>Embedded content from youtube</figcaption>
</figure>
https://youtube.com/
<figcaption>Embedded content from youtube</figcaption></figure>
<!-- /wp:core-embed/youtube -->
4 changes: 1 addition & 3 deletions core-blocks/test/fixtures/core__audio.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<!-- wp:core/audio {"align":"right"} -->
<figure class="wp-block-audio alignright">
<audio controls="" src="https://media.simplecast.com/episodes/audio/80564/draft-podcast-51-livePublish2.mp3"></audio>
</figure>
<figure class="wp-block-audio alignright"><audio controls="" src="https://media.simplecast.com/episodes/audio/80564/draft-podcast-51-livePublish2.mp3"></audio></figure>
<!-- /wp:core/audio -->
15 changes: 7 additions & 8 deletions core-blocks/test/fixtures/core__column.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Column One, Paragraph One</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Column One, Paragraph Two</p>
<!-- /wp:paragraph -->
</div>
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column One, Paragraph One</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Column One, Paragraph Two</p>
<!-- /wp:paragraph --></div>
<!-- /wp:columns -->
41 changes: 19 additions & 22 deletions core-blocks/test/fixtures/core__columns.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
<!-- wp:columns {"columns":3} -->
<div class="wp-block-columns has-3-columns">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Column One, Paragraph One</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Column One, Paragraph Two</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Column Two, Paragraph One</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Column Three, Paragraph One</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
</div>
<div class="wp-block-columns has-3-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column One, Paragraph One</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Column One, Paragraph Two</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p>Column Two, Paragraph One</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Column Three, Paragraph One</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
4 changes: 1 addition & 3 deletions core-blocks/test/fixtures/core__cover-image.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<!-- wp:core/cover-image {"url":"https://cldup.com/uuUqE_dXzy.jpg","dimRatio":40} -->
<div class="wp-block-cover-image has-background-dim-40 has-background-dim" style="background-image:url(https://cldup.com/uuUqE_dXzy.jpg)">
<p class="wp-block-cover-image-text">Guten Berg!</p>
</div>
<div class="wp-block-cover-image has-background-dim-40 has-background-dim" style="background-image:url(https://cldup.com/uuUqE_dXzy.jpg)"><p class="wp-block-cover-image-text">Guten Berg!</p></div>
<!-- /wp:core/cover-image -->
5 changes: 2 additions & 3 deletions core-blocks/test/fixtures/core__embed.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- wp:core/embed {"url":"https://example.com/"} -->
<figure class="wp-block-embed">
https://example.com/
<figcaption>Embedded content from an example URL</figcaption>
</figure>
https://example.com/
<figcaption>Embedded content from an example URL</figcaption></figure>
<!-- /wp:core/embed -->
13 changes: 1 addition & 12 deletions core-blocks/test/fixtures/core__gallery.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
<!-- wp:core/gallery -->
<ul class="wp-block-gallery columns-2 is-cropped">
<li class="blocks-gallery-item">
<figure>
<img src="https://cldup.com/uuUqE_dXzy.jpg" alt="title" />
</figure>
</li>
<li class="blocks-gallery-item">
<figure>
<img src="http://google.com/hi.png" alt="title" />
</figure>
</li>
</ul>
<ul class="wp-block-gallery columns-2 is-cropped"><li class="blocks-gallery-item"><figure><img src="https://cldup.com/uuUqE_dXzy.jpg" alt="title" /></figure></li><li class="blocks-gallery-item"><figure><img src="http://google.com/hi.png" alt="title" /></figure></li></ul>
<!-- /wp:core/gallery -->
Loading