Re: What is Django/python equivalent of this - Display textarea content with line breaks in html page?

2009-01-10 Thread Brian Neal
On Jan 10, 8:13 pm, zweb wrote: > Javascript: > document.getElemnetById(’textareacontent’).value.replace(/\n/ > g,’’); > PHP: > preg_replace(”/\n/”,””,$_REQUEST['t1']); > Ruby: > (teaxtareacontent).gsub(/\n/,””) > > ( reference > -http://rkutti.wordpress.com/2008/01/31/display-textarea-content-w

What is Django/python equivalent of this - Display textarea content with line breaks in html page?

2009-01-10 Thread zweb
Javascript: document.getElemnetById(’textareacontent’).value.replace(/\n/ g,’’); PHP: preg_replace(”/\n/”,””,$_REQUEST['t1']); Ruby: (teaxtareacontent).gsub(/\n/,””) ( reference - http://rkutti.wordpress.com/2008/01/31/display-textarea-content-with-line-breaks-in-html-page/) --~--~-~--