mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-30 18:40:08 +00:00
testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5a2fbfc763
commit
6d69d34a84
3
wiki.js
3
wiki.js
@ -223,6 +223,9 @@ var macro = {
|
|||||||
json: 'text',
|
json: 'text',
|
||||||
text: function(context, text){ return $('<div>').text(text).html() },
|
text: function(context, text){ return $('<div>').text(text).html() },
|
||||||
|
|
||||||
|
// XXX
|
||||||
|
nl2br: function(context, text){ return $('<div>').html(text.replace(/\n/g, '<br>\n')) },
|
||||||
|
|
||||||
wikiword: function(context, text){
|
wikiword: function(context, text){
|
||||||
return setWikiWords(text, true, this.__include_marker__) },
|
return setWikiWords(text, true, this.__include_marker__) },
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user