meteor/meteor — pull request #283 by Multiply (2012-08-19 02:55:44+00:00)
Title: With this package, you can replace parts of a string, from Handlebars

The idea of this package, is to allow user content to stay escaped, while our own HTML doesn't get escaped.

**Javascript**
```javascript
Template.chat.replaceMap = [{
from : /#([^(\s|,|\.)]+)/gim,
to : function (match, room) {
return '' + match + '';
}
}, {
from : ':)'
to : ''
}];
```

**HTML**
```html

```