Skip to content

Commit

Permalink
[pug/en] Fix style attribute syntax error (#4653)
Browse files Browse the repository at this point in the history
  • Loading branch information
astr0n0mer authored May 13, 2024
1 parent 47b3e24 commit f6f8884
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions de-de/pug-de.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ div(class=meineKlasse)
//- JS Stil
- const meineStile = {'color':'white', 'background-color':'blue'}
div(styles=meineStile)
//- <div styles="{&quot;color&quot;:&quot;white&quot;,&quot;background-color&quot;:&quot;blue&quot;}"></div>
div(style=meineStile)
//- <div style="color:white;background-color:blue;"></div>
//- JS Attributte
- const meineAttribute = {"src": "foto.png", "alt": "meine Bilder"}
Expand Down
4 changes: 2 additions & 2 deletions pug.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ div(class=myClass)
//- JS Styles
- const myStyles = {'color':'white', 'background-color':'blue'}
div(styles=myStyles)
//- <div styles="{&quot;color&quot;:&quot;white&quot;,&quot;background-color&quot;:&quot;blue&quot;}"></div>
div(style=myStyles)
//- <div style="color:white;background-color:blue;"></div>
//- JS Attributes
- const myAttributes = {"src": "photo.png", "alt": "My Photo"}
Expand Down

0 comments on commit f6f8884

Please sign in to comment.