mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Update HTML Line-Wrapping examples
Replaces the examples in the HTML Line-Wrapping recommendation to include child elements.
This commit is contained in:
parent
2eb7e16647
commit
992ad03d50
|
@ -451,24 +451,27 @@ wrapping long lines if it significantly improves readability.</p>
|
||||||
additional spaces from the original line to distinguish wrapped attributes from
|
additional spaces from the original line to distinguish wrapped attributes from
|
||||||
child elements.</p>
|
child elements.</p>
|
||||||
|
|
||||||
<pre><code class="language-html good"><md-progress-circular md-mode="indeterminate" class="md-accent"
|
<pre><code class="language-html good"><button mat-icon-button color="primary" class="menu-button"
|
||||||
ng-show="ctrl.loading" md-diameter="35">
|
(click)="openMenu()">
|
||||||
</md-progress-circular>
|
<mat-icon>menu</mat-icon>
|
||||||
|
</button>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<pre><code class="language-html good"><md-progress-circular
|
<pre><code class="language-html good"><button
|
||||||
md-mode="indeterminate"
|
mat-icon-button
|
||||||
class="md-accent"
|
color="primary"
|
||||||
ng-show="ctrl.loading"
|
class="menu-button"
|
||||||
md-diameter="35">
|
(click)="openMenu()">
|
||||||
</md-progress-circular>
|
<mat-icon>menu</mat-icon>
|
||||||
|
</button>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<pre><code class="language-html good"><md-progress-circular md-mode="indeterminate"
|
<pre><code class="language-html good"><button mat-icon-button
|
||||||
class="md-accent"
|
color="primary"
|
||||||
ng-show="ctrl.loading"
|
class="menu-button"
|
||||||
md-diameter="35">
|
(click)="openMenu()">
|
||||||
</md-progress-circular>
|
<mat-icon>menu</mat-icon>
|
||||||
|
</button>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h4 id="HTML_Quotation_Marks" class="numbered">HTML Quotation Marks</h4>
|
<h4 id="HTML_Quotation_Marks" class="numbered">HTML Quotation Marks</h4>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user