Comment #1 on issue 52 by eforgeot: better image support http://code.google.com/p/txt2tags/issues/detail?id=52
what do you think of this? It works fine for me: %!preproc(xhtml): '\[http:\/\/([^ ].*?).png\]' '@@HOTLINK@@\1.png@@' %!postproc(xhtml): '@@HOTLINK@@([^ ].*?).png@@' '<img align="middle" src="http://\1.png" border="0" alt=""/>' %!preproc(xhtml): '\[http:\/\/([^ ].*?).jpg\]' '@@HOTLINK@@\1.png@@' %!postproc(xhtml): '@@HOTLINK@@([^ ].*?).jpg@@' '<img align="middle" src="http://\1.png" border="0" alt=""/>' (as a personnal opinion, I think we shouldn't encourage hotlinking, but on the other hand, it would be great to have on the website some cookbooks for enhancing txt2tags, maybe when txt2tags would be more modular?) ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list