From f6f88843aafe9a60569f7b93ae175cfd7281d260 Mon Sep 17 00:00:00 2001 From: Imran Khan <42691857+astr0n0mer@users.noreply.github.com> Date: Mon, 13 May 2024 12:32:44 +0530 Subject: [pug/en] Fix style attribute syntax error (#4653) --- pug.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pug.html.markdown') 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(style=myStyles) +//-
//- JS Attributes - const myAttributes = {"src": "photo.png", "alt": "My Photo"} -- cgit v1.2.3