/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
case ENV['TM_SCOPE'] when /markdown/ self.post['mt_convert_breaks'] = 'markdown_with_smartypants' when /textile/ self.post['mt_convert_breaks'] = 'textile_2' when /text\.blog\.html/ self.post['mt_convert_breaks'] = '0' else self.post['mt_convert_breaks'] = '__default__' end