Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: moshe weitzman commentedfixed in HEAD
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedcommitted to DRUPAL-5 as well.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.