[pug/en] Fix style attribute syntax error (#4653)

This commit is contained in:
Imran Khan 2024-05-13 12:32:44 +05:30 committed by GitHub
parent 47b3e24c00
commit f6f88843aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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"}

View File

@ -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"}