The Template toolkit filter html_para may also help you. It wraps <p> tags arround paragraphs (delimted by a blank line).
Merlyn will tell you how to use Tempate in This article, one of his spiffy Linux Magazine Columns.
In reply to Re: regex to replace linefeeds with <p> tags
by f00li5h
in thread regex to replace linefeeds with <p> tags
by jck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |