document.selection.text = '<ul>\n<li>' + document.selection.text.replace(/[\n\r]+/g,'</li>\n<li>') + '</li>\n</ul>';