diff --git a/dist/alan_lib.js b/dist/alan_lib.js
index 734d494..a7424fa 100644
--- a/dist/alan_lib.js
+++ b/dist/alan_lib.js
@@ -35706,7 +35706,7 @@
function replaceUnsafeChar(ch) {
return HTML_REPLACEMENTS[ch];
}
- function escapeHtml2(str) {
+ function escapeHtml(str) {
if (HTML_ESCAPE_TEST_RE.test(str)) {
return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);
}
@@ -35801,7 +35801,7 @@
__proto__: null,
arrayReplaceAt,
assign,
- escapeHtml: escapeHtml2,
+ escapeHtml,
escapeRE,
fromCodePoint,
has,
@@ -35975,11 +35975,11 @@
var default_rules = {};
default_rules.code_inline = function(tokens, idx, options, env, slf) {
const token = tokens[idx];
- return "" + escapeHtml2(token.content) + "
";
+ return "" + escapeHtml(token.content) + "
";
};
default_rules.code_block = function(tokens, idx, options, env, slf) {
const token = tokens[idx];
- return "
" + escapeHtml2(tokens[idx].content) + "
\n";
+ return "" + escapeHtml(tokens[idx].content) + "
\n";
};
default_rules.fence = function(tokens, idx, options, env, slf) {
const token = tokens[idx];
@@ -35993,9 +35993,9 @@
}
let highlighted;
if (options.highlight) {
- highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml2(token.content);
+ highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content);
} else {
- highlighted = escapeHtml2(token.content);
+ highlighted = escapeHtml(token.content);
}
if (highlighted.indexOf("\n" : "
\n" : "\n";
};
default_rules.text = function(tokens, idx) {
- return escapeHtml2(tokens[idx].content);
+ return escapeHtml(tokens[idx].content);
};
default_rules.html_block = function(tokens, idx) {
return tokens[idx].content;
@@ -36048,7 +36048,7 @@
}
result = "";
for (i = 0, l = token.attrs.length; i < l; i++) {
- result += " " + escapeHtml2(token.attrs[i][0]) + '="' + escapeHtml2(token.attrs[i][1]) + '"';
+ result += " " + escapeHtml(token.attrs[i][0]) + '="' + escapeHtml(token.attrs[i][1]) + '"';
}
return result;
};
@@ -89509,12 +89509,53 @@
`,
+ msgLoader: ``,
stopResponse: `
-