Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/next_php/src/deps.ts>ejs.escapeXML

NextPHP is a web framework enabling you to write PHP in JavaScript.
Latest
function ejs.escapeXML
import { ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { escapeXML } = ejs;

Escape characters reserved in XML.

This is simply an export of utils.escapeXML.

If markup is undefined or null, the empty string is returned.

Parameters

optional
markup: any

Returns

string