[Population: One] <A HREF="http://popone.innocence.com/ar
Mar. 31st, 2003 03:26 pmIf you’re using Brad Choate’s Textile plugin for Movable Type, you’ve no doubt noticed it’s a pain to edit the pre-formatted <a> tag that’s generated by your MT bookmarklet. And if you haven’t, well, I have. Here’s how to patch your MT installation to make it all pretty and Textile-like.
- Edit the file
lib/MT/App/CMS.pmin your MT installation - Go to line 631, which should read:
$param{text} = sprintf qq(<a title="%s" href="%s">%s</a>\n\n%s), - Replace that line with:
$param{text} = sprintf qq("%s":%s\n\n%s), - Go down 3 more lines, to the second instance of:
scalar $q->param('link_title'), - Delete that line (line 634 in an unmodified CMS.pm)
Enjoy.