mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 10:30:08 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
df7b74f1a3
commit
ab9d2ead09
@ -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, '→')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user