This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+4 -1
View File
@@ -3,8 +3,11 @@ import { jsxDEV, Fragment } from "./jsx-dev-runtime.js";
import { jsxDEV as jsxDEV2 } from "./jsx-dev-runtime.js";
import { html, raw } from "../helper/html/index.js";
import { escapeToBuffer, stringBufferToString } from "../utils/html.js";
import { styleObjectForEach } from "./utils.js";
import { isValidAttributeName, styleObjectForEach } from "./utils.js";
var jsxAttr = (key, v) => {
if (!isValidAttributeName(key)) {
return raw("");
}
const buffer = [`${key}="`];
if (key === "style" && typeof v === "object") {
let styleStr = "";