diff options
| author | ubq323 <ubq323@ubq323.website> | 2025-11-02 20:10:50 +0000 |
|---|---|---|
| committer | ubq323 <ubq323@ubq323.website> | 2025-11-02 20:11:04 +0000 |
| commit | bbd39c98b8c47091983ebbc0ccd507ac9801e100 (patch) | |
| tree | 30e5f0927abd3f73798e9a8ae44a833f9a912290 | |
| parent | 0b7a7ed12e96e9111f4761a16cc18a49071ce922 (diff) | |
fix quotes in html attrs
| -rw-r--r-- | html.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ local function fmt_attrs(attrs) return k else if type(v) == "table" then v = table.concat(v," ") end - return ('%s="%s"'):format(k,v) + return ('%s="%s"'):format(k,tostring(v):gsub('"','"')) end end |
