Fix typo in README.md

Fix typo in filter code example.
This commit is contained in:
Nelson Darkwah Oppong 2014-11-20 14:44:25 +01:00
parent 053288f2fe
commit a7e0e34d9b

View File

@ -244,7 +244,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: 'lang', filter: function(text) {
return text.replace(/\\@/g, '@'); return text.replace(/\\@/g, '@');
}} }}
]; ];