[Population: One] <A HREF="http://popone.innocence.com/ar

Mar. 31st, 2003 03:26 pm
bryant: (Default)
[personal profile] bryant

If 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.

  1. Edit the file lib/MT/App/CMS.pm in your MT installation
  2. Go to line 631, which should read:
    $param{text} = sprintf qq(<a title="%s" href="%s">%s</a>\n\n%s),
  3. Replace that line with:
    $param{text} = sprintf qq("%s":%s\n\n%s),
  4. Go down 3 more lines, to the second instance of:

    scalar $q->param('link_title'),
  5. Delete that line (line 634 in an unmodified CMS.pm)

Enjoy.

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

October 2025

S M T W T F S
    1234
567891011
12131415161718
19202122232425
2627 28293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 26th, 2026 06:01 am
Powered by Dreamwidth Studios