mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-29 06:03:18 +00:00
Fix typo from 4a03dcab2031a31eb60f99b6d15a70ff0449182c
This commit is contained in:
parent
35fe5a5fc3
commit
5f6a53eae1
@ -383,7 +383,7 @@ exports.htmlEncode = function(s) {
|
|||||||
|
|
||||||
// Converts all HTML entities to their character equivalents
|
// Converts all HTML entities to their character equivalents
|
||||||
exports.entityDecode = function(s) {
|
exports.entityDecode = function(s) {
|
||||||
var converter = String.fromCodePoint || String.fromCharCode;
|
var converter = String.fromCodePoint || String.fromCharCode,
|
||||||
e = s.substr(1,s.length-2); // Strip the & and the ;
|
e = s.substr(1,s.length-2); // Strip the & and the ;
|
||||||
if(e.charAt(0) === "#") {
|
if(e.charAt(0) === "#") {
|
||||||
if(e.charAt(1) === "x" || e.charAt(1) === "X") {
|
if(e.charAt(1) === "x" || e.charAt(1) === "X") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user