evilstreak/markdown-js — pull request #44 by rlidwka (2012-04-08 00:24:21+00:00)
Title: fix for bug #24 (implicit conversion to a string)

I wonder what javascript engine this module was developed for?

In V8 you can't assign a property to a string. That's why bug #24 appears with Node.js:

```javascript
var x = new String("test");
x.prop = "hi";
// x == 'test'
// x.prop == 'hi'

x += 'test'
// x == 'testtest'
// x.prop == undefined

x.prop = 'hi'
// x.prop == undefined
// (it's a string now, not an object, it's immutable now)
```