mirror of
https://github.com/Forward-Future/loopy.git
synced 2026-09-22 05:33:01 +08:00
5fe6469d4a
Move the website (site shell, Worker, scripts, audits) under a dedicated loop-library/ directory so it is clearly separated from the installable Loopy skill, which stays in skills/loopy/. Update CI, .gitignore, the repository check script, and maintainer docs to the new paths. Co-authored-by: mberman84 <mberman84@users.noreply.github.com>
6 lines
144 B
JavaScript
6 lines
144 B
JavaScript
export function escapeJsonForHtmlScript(value) {
|
|
return String(value).replace(/<\/script/gi, (match) =>
|
|
match.replace("/", "\\/"),
|
|
);
|
|
}
|