[pmwiki-users] change attach markup

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 17 00:56:28 CDT 2007


On Mon, Apr 16, 2007 at 10:25:22PM -0700, Ryan O'Toole wrote:
>    Hi PMWiki List,
> 
>    I want to modify the markup pmwiki replaces "Attach:Image.jpg" with.
>    Currently it spits out something like this:
> 
>    <div><img src="Image.jpg"></div>
> 
>    But I'd like it to spit out something more like:
> 
>    <p><img src="Image.jpg"></p>
> 
>    Not a big difference, I know, but it would help me out tremendously. 

Try adding the following to config.php:

    DisableMarkup('^img');

Pm




More information about the pmwiki-users mailing list