summaryrefslogtreecommitdiffhomepage
path: root/pug.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'pug.html.markdown')
-rw-r--r--pug.html.markdown4
1 files changed, 2 insertions, 2 deletions
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="{&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"}