Closed (fixed)
Project:
Markdown with SmartyPants
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2007 at 04:07 UTC
Updated:
5 Mar 2008 at 18:12 UTC
The _marksmarty_process() function always loads both markdown and smartypants includes instead of only loading them if those filters are enabled. For obvious performance benefits they should be required inside the feature check.
The attached patch does that and a whitespace fix snuck in there also.
| Comment | File | Size | Author |
|---|---|---|---|
| marksmarty.module_1.patch | 1.27 KB | tangent |
Comments
Comment #1
moshe weitzman commentedwhy would the process hook get called for filters which are inactive? i haven't researched this but i bet you have.
Comment #2
milianw commentedThe issue is valid, and the patch ready to be committed in my eyes. I've implemented it in my patch as well, see http://drupal.org/node/220156 .
Comment #3
moshe weitzman commentedfixed in HEAD
Comment #4
moshe weitzman commentedcommitted to DRUPAL-5 as well.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.