# Enkodertags extension problem

**URL:** <https://www.ruby-forum.com/t/enkodertags-extension-problem/104571>\
**Category:** Radiant CMS\
**Created:** [May 19, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/enkodertags-extension-problem/104571 "2007-05-19T18:54:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Minor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@David\_Minor](https://www.ruby-forum.com/u/David_Minor)\
**Post date:** [May 19, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/enkodertags-extension-problem/104571/1 "2007-05-19T18:54:01Z")

</div>

I ran into a problem yesterday with the enkodertags extension not  
displaying properly and I meant to post to the list, but instead I  
inadvertently emailed Sean S. directly. He was quick to help and  
pointed out that the textile filter was probably endcoding the html  
created by the tag. I wanted to share my solution here and ask a  
question to further both my knowledge of radiant’s structure and  
offer a fix for Sean’s extension. I’ll post my email with Sean in  
it’s entirety below.

The fix as of now is to wrap the enkoder tag with  
\<r:enkoder\_mailto … /\> in my page part.  
What immediately jumped out at me is that enkodertags should be  
looking for the textile filter and adding the tags  
itself. it would happen at the very end of the enkode\_it method just  
before the result is passed back. The question is, what to check  
for? Can I check for the filter type of the page part or snippet  
from within the Enkoder object?

Here’s the original post that should have come to the list. Thanks  
for the help Sean.

---

<div class="post-metadata">

**Author:** ![David\_Minor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@David\_Minor](https://www.ruby-forum.com/u/David_Minor)\
**Post date:** [May 23, 2007, 6:15am UTC](https://www.ruby-forum.com/t/enkodertags-extension-problem/104571/2 "2007-05-23T06:15:05Z")

</div>

is the page part’s filter status available to a tag in an extension  
called from that page part?
