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.
It will be nice if it's ok to disable some of the match patterns.
I believe for some people, they use $ a lot in reference for the dollar sign instead of for tex, so if the user turning on or off some of the matching patterns would be great.
it's currently possible to disable tex in part of the node, but it's still complicated.
And will there be any Drupal 6 support?
Comment | File | Size | Author |
---|---|---|---|
#4 | drutex_render-disable-punctuation.patch | 1.4 KB | smokris |
Comments
Comment #1
Steven Jones CreditAttribution: Steven Jones commentedI guess this wouldn't be too hard to do, but I'm short on time, so I don't think I'll have time to implement this. If you'd like to provide a patch, then I'd be more than happy to test and evaluate it.
Drupal 6, probably, I've not looked into how input filters are different 6.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedMaybe rewrite drutex to use the flexifilter module, then the user could define whatever syntax they wanted for DruTeX.
Comment #3
jseffel CreditAttribution: jseffel commentedI have a problem with this because jQuery can show up in some of the nodes ($(document) etc) which triggers Drutex. I've solved it by letting Drutex be a standalone filter.
Comment #4
smokrisAs a workaround, the attached patch disables punctuation-based math in the drutex_render submodule.
Comment #5
abbasmousavi CreditAttribution: abbasmousavi commentedThanks smokris.
I think that we should make some setting UI so that user can select match patterns from a select list or add new patterns. I will consider this for the next release.