method of static class JsNgram
Description
Escape html special characters.
Example
JsNgram.escapeHtml('<a>'); // returns <a>
Usage
escapeHtml(text);
Argument text is a text unescaped.
It uses following rules:
& → & < → < > → > " → " ' → ' ` → `