Skip to content

Commit c6a7b00

Browse files
authored
Remove unnecessary new paragraph in style_pages.md (#6838)
#6833 took a shortcut and applied the format filter on just part of the sentence. This resulted in the word "stylesheets" being put in a new paragraph after the word "external". Apparently, the filter mechanism always creates a new paragraph as opposed to coalescing all whitespace characters into a single space. To fix this, we will have to duplicate some parts of the sentence, unfortunately.
1 parent 38f0a37 commit c6a7b00

File tree

1 file changed

+2
-4
lines changed
  • pages/content/amp-dev/documentation/guides-and-tutorials/develop/style_and_layout

1 file changed

+2
-4
lines changed

pages/content/amp-dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ Warning: AMP for Email specifies additional CSS constraints which are described
1919
[AMP for Email Supported CSS](../../../../documentation/guides-and-tutorials/learn/email-spec/amp-email-css.md).
2020
[/filter]
2121

22-
Like all web pages, AMP pages are styled with CSS,
23-
but you can’t reference external
2422
[filter formats="websites, ads, stories"]
25-
stylesheets (with the exception of [custom fonts](#the-custom-fonts-exception)).
23+
Like all web pages, AMP pages are styled with CSS, but you can’t reference external stylesheets (with the exception of [custom fonts](#the-custom-fonts-exception)).
2624
[/filter]
2725
[filter formats="email"]
28-
stylesheets.
26+
Like all web pages, AMP pages are styled with CSS, but you can’t reference external stylesheets.
2927
[/filter]
3028
Also certain styles are disallowed due to performance implications.
3129

0 commit comments

Comments
 (0)