tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-20 19:01:55 +03:00
parent df7b74f1a3
commit ab9d2ead09

View File

@ -565,11 +565,11 @@ var symbols = {
__parse__: function(text, editor, elem){ __parse__: function(text, editor, elem){
var that = this var that = this
return text return text
//* XXX
.replace(this.symbols_pattern, .replace(this.symbols_pattern,
function(m){ function(m){
return that.symbols[m] }) return that.symbols[m] })
// characters... /*/
/*
.replace(/(?<!\\)>>/gm, '»') .replace(/(?<!\\)>>/gm, '»')
.replace(/(?<!\\)<</gm, '«') .replace(/(?<!\\)<</gm, '«')
.replace(/(?<![\\<])->/gm, '→') .replace(/(?<![\\<])->/gm, '→')