diff options
| author | Imran Khan <42691857+astr0n0mer@users.noreply.github.com> | 2024-05-13 12:32:44 +0530 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-13 01:02:44 -0600 | 
| commit | f6f88843aafe9a60569f7b93ae175cfd7281d260 (patch) | |
| tree | 335f0d65f58401b4cf809326aac83585e4864d24 | |
| parent | 47b3e24c005c97bc336031af2f3b5c6b2ecf814a (diff) | |
[pug/en] Fix style attribute syntax error (#4653)
| -rw-r--r-- | de-de/pug-de.html.markdown | 4 | ||||
| -rw-r--r-- | pug.html.markdown | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/de-de/pug-de.html.markdown b/de-de/pug-de.html.markdown index ebc32622..e4229622 100644 --- a/de-de/pug-de.html.markdown +++ b/de-de/pug-de.html.markdown @@ -84,8 +84,8 @@ div(class=meineKlasse)  //- JS Stil  - const meineStile = {'color':'white', 'background-color':'blue'} -div(styles=meineStile) -//- <div styles="{"color":"white","background-color":"blue"}"></div> +div(style=meineStile) +//- <div style="color:white;background-color:blue;"></div>  //- JS Attributte  - const meineAttribute = {"src": "foto.png", "alt": "meine Bilder"} diff --git a/pug.html.markdown b/pug.html.markdown index 052c5dcc..64bf1d9a 100644 --- a/pug.html.markdown +++ b/pug.html.markdown @@ -80,8 +80,8 @@ div(class=myClass)  //- JS Styles  - const myStyles = {'color':'white', 'background-color':'blue'} -div(styles=myStyles) -//- <div styles="{"color":"white","background-color":"blue"}"></div> +div(style=myStyles) +//- <div style="color:white;background-color:blue;"></div>  //- JS Attributes  - const myAttributes = {"src": "photo.png", "alt": "My Photo"} | 
