Fix filter example

This commit is contained in:
Cole R Lawrence 2014-03-15 15:45:08 -07:00
parent 2e102c72b2
commit 5d448f57ec

View File

@ -256,7 +256,7 @@ Alternately, if you'd just like to do everything yourself, you can specify a fil
var demo = function(converter) { var demo = function(converter) {
return [ return [
// Replace escaped @ symbols // Replace escaped @ symbols
{ type: 'lang', function(text) { { type: 'output', filter: function(text) {
return text.replace(/\\@/g, '@'); return text.replace(/\\@/g, '@');
}} }}
]; ];