Skip to content

Commit

Permalink
remove pre for CSSSyntaxd (mdn#175)
Browse files Browse the repository at this point in the history
```
s/<pre.*>(\{\{csssyntax(\(.*\))?\}\})\n?</pre>/$1/g
```
  • Loading branch information
fiji-flo authored Mar 15, 2021
1 parent 1651ecf commit 387a917
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion web/css/_colon_active/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2 id="Pseudo_klasaactive">Pseudo klasa:active</h2>

<h2 id="Składnia">Składnia</h2>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Example" name="Example">Przykład</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/_colon_hover/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 id="Pseudo_klasahover">Pseudo klasa:hover</h2>

<h2 id="Składnia">Składnia</h2>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Przykład">Przykład</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/_colon_link/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2 id="Podsumowanie"><span id="result_box" lang="pl"><span>Podsumowanie</span><

<h2 id="Składnia">Składnia</h2>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Przykłady">Przykłady</h2>

Expand Down
3 changes: 1 addition & 2 deletions web/css/background-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ <h3 id="Intrinsic_dimensions_and_proportions">Intrinsic dimensions and proportio

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="syntaxbox">{{csssyntax}}
</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/box-decoration-break/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3 id="Values">Values</h3>

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/font-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h3 id="Values">Values</h3>

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Possible_approaches">Possible approaches</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/font-style/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>

<h2 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h2>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h3 id="Warto.C5.9Bci" name="Warto.C5.9Bci">Wartości</h3>

Expand Down
2 changes: 1 addition & 1 deletion web/css/grid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 id="Formalna_definicja">Formalna definicja</h2>

<h2 id="Formalna_składna">Formalna składna</h2>

<pre class="syntaxbox notranslate">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Przykłady">Przykłady</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/right/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h3 id="Values" name="Values">Values</h3>

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples" name="Examples">Przykłady</h2>

Expand Down
2 changes: 1 addition & 1 deletion web/css/width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 id="Wartości">Wartości</h3>

<h3 id="Formalna_składnia">Formalna składnia</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down

0 comments on commit 387a917

Please sign in to comment.