[pmwiki-users] Putting a Colon in a Definition List?

Hans design5 at softflow.co.uk
Thu Mar 13 13:30:03 CDT 2008


Thursday, March 13, 2008, 5:46:16 PM, Andrew Standfield wrote:

> I have text that uses a colon which I want to put in a definition  
> list (specifically in the Definition Term). The problem is, that the  
> colon terminates the dt tag.

Perhaps try this markup for redefining the def list markup:

## definition lists
Markup('^::','block','/^(:+)(\\s*)(.*?:?\\s*):/','<:dl,$1,$1$2><dt>$2$3</dt><dd>');



  ~Hans




More information about the pmwiki-users mailing list