mirror of
https://github.com/typecho/typecho.git
synced 2025-03-23 19:40:22 +01:00
fixed #54
This commit is contained in:
parent
4d353e0725
commit
1eba4e580f
@ -216,7 +216,7 @@ this.makeHtml = function(text) {
|
||||
text = _ExecuteExtension(x, text);
|
||||
});
|
||||
|
||||
text = text.replace(/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|script|noscript|iframe|object|embed)[^>]*>/ig, function (all) {
|
||||
text = text.replace(/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|noscript)[^>]*>/ig, function (all) {
|
||||
return all.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
|
Loading…
x
Reference in New Issue
Block a user