Problem with a code when transitionning to node.js version

Hello,

I’ve wrote this code on a tiddlywiki in html form and it worked perfectly , opening a mail page with the address prefilled

<a class="AAP_TableTitle" href={{{ [[mailto:]] [{!!contact}get[mail]]+[join[]] }}}>{{!!contact}}</a>

where contact is both a field in the tiddler and the name of a tiddler that contain the email.

But when I put the same code in a node.js tiddlywiki, it stop working, only keeping what is after the “@” in the email, adding a final slash (so domain.org/).
Is there something in the node.js version of tiddlywiki that could explain this break of the link at the “@” ?

edit : a few precision

  • the problem persist it the email is inserted directly : href={{{ [[mailto:]] [[john.doe@domain.org]]+[join[]] }}}
  • the problem persist if the mailto is written directly instead of being generated : href="mailto:john.doe@domain.org"
  • the problem disapear if I remove the “@” from the email… but the address became non functionnal
  • the problem disapear if I replace the “mailto” with a “copy to clip board button”.
  • I am using TidGy for the node.js, could this be the source of the problem ?

I don’t use TidGy, but am on a pure node setup: TW 5.3.8 - and am not seeing the issue.

Screenshot to show code, preview with mouse hovering over the ‘beep’ and the target mailto at the bottom of the window

Ok, so this might be a problem with TidGy.

Do you mean mainto:// scheme doesn’t work? I tried your

<a class="AAP_TableTitle" href={{{ [[mailto:]] [[john.doe@domain.org]]+[join[]] }}}>aaa</a>

and it works, click on it will bring up email app.

Have you try create a new clean workspace? Perhaps some plugin affects you.

The problem persist when I create a new workspace and when I import an empty html file.
I haven’t installed any plugin.
I’ll try on an other computer and a new install of TidGy.

Not sure. You can share your tiddler to ensure you are using the correct wikitext.