formacao
This commit is contained in:
+3
-1
@@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
@@ -32,6 +31,9 @@ var import_html = require("../helper/html");
|
||||
var import_html2 = require("../utils/html");
|
||||
var import_utils = require("./utils");
|
||||
const jsxAttr = (key, v) => {
|
||||
if (!(0, import_utils.isValidAttributeName)(key)) {
|
||||
return (0, import_html.raw)("");
|
||||
}
|
||||
const buffer = [`${key}="`];
|
||||
if (key === "style" && typeof v === "object") {
|
||||
let styleStr = "";
|
||||
|
||||
Reference in New Issue
Block a user