mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-25 07:04:45 +00:00
10 lines
229 B
JavaScript
10 lines
229 B
JavaScript
// Build out our basic SafeString type
|
|
function SafeString(string) {
|
|
this.string = string;
|
|
}
|
|
|
|
SafeString.prototype.toString = SafeString.prototype.toHTML = function() {
|
|
return '' + this.string;
|
|
};
|
|
|
|
export default SafeString;
|