replace all types of line endings

This commit is contained in:
Jeff Williams 2012-10-19 22:07:42 -07:00
parent 6adf120a0f
commit 5295803fc7

View File

@ -15,7 +15,7 @@ exports.handlers = {
e.doclet.description = e.doclet.description
.replace(/&/g,'&')
.replace(/</g,'&lt;')
.replace(/\n/g, '<br>');
.replace(/\r\n|\n|\r/g, '<br>');
}
}
};