I installed Texy build 179 on a 5.3 Drupal site and wrote a sample sheet of all it's functions.
For the most part, everything looked ok.

Then a week later I installed same Drupal build to new site.
The Texy module was updated so I updated that module on the new site.
Initial Texy install on Drulap 5.3: Texy build 179
After last Drupal Texy module update: build 180
Current latest Texy: build 181

In both builds I tried after 179 the eMail link builds were not working.

Since I built a sample page on the first install it was easy to check all functions.
The sample had <code>..</code> snippets to show the Texy input and regular <div>'s to show the output.

But on these two last builds it's reversed.
The eMail in the normal text flow gets ignored.
The eMail in the <code> segment gets translated to a mailto link.

I ran a diff on the Texy link modules and can see that a few changes have been made but restoring it would have side-effects on other changed texy modules so I haven't yet.

Here's the code:

me@mysite.com

/--- code
me@mysite.com
\---

The output after build 179 is:

me@mysite.com

<a href="mailto:me@mysite.com">...

Is there any way (other than learning Czech) to communicate with the author?

Comments

havran’s picture

Hi. Please try 5.x-3.x-dev. It's latest and greatest version :). I have tried your code both on

PHP version: 4.4.7
Texy! version: 2.0 FOR PHP4 BETA 2 (Revision: 181, Date: 2007/10/25 08:42:50)
Module version: 5.x.3.x dev

and

PHP version: 5.2.4
Texy! version: 2.0 BETA 2 (Revision: 181, Date: 2007/10/25 08:42:50)
Module version: 5.x.3.x dev

And i have no problem. Please not use space between /--- and code. Have you enabled any other filters together with Texy module?

And i think there is no problem communicate with author in english. You can try Texy! forum too - section Problémy se syntaxí (Problems with syntax) - http://forum.texy.info/.

design4effect’s picture

Status: Active » Closed (fixed)

Problem resolved... SpamSpan is the culprit.

It doesn't matter whether or not there is a space after the /---

I guess this makes sense if you think that spamspan is there to convert the text link to a URL but why it would convert a URL to a text link is beyond me. (I'm assuming since no other filters are enabled)

Here's what I entered:

/---code
me@home.com
\---
me@home.com

Here's what Texy puts out (obfuscate disabled):

<pre><code>me@home.com</code_></pre>

<p><a href="mailto:me&#64;home.com">me@home.com</a></p>

* So this is what SpamSpan gets as input. (running it AFTER SpamSpan)

Here's the generated code with SpamSpan enabled

<pre><code><span class="spamspan"><span class="u">me</span> [at] <span class="d">home [dot] com</span></span></code</pre>

<p>me&#64;home.com</p>

Since Texy leaves HTML alone I tried running the SpamSpan filter first:

<pre><code><span class="spamspan"><span class="u">me</span> [at] <span class="d">home [dot] com</span></span></code</pre>

<p><span class="spamspan"><span class="u">me</span> [at] <span class="d">home [dot] com</span></span></p>

So it's definetely not a Texy issue. I just have to find a better way to actually show an eMail address when I want to.

I think Texy is the future of web page editing for non-geeks.
I haven't used anything else since I tried it... and I'm a poster boy for geekiness.

- Kent

Thanks for the quick reply, I'll check-out the forum

havran’s picture

Status: Closed (fixed) » Fixed

Marked fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.