emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
674 stars 99 forks source link

How to produce a valid email address? #94

Closed xuchunyang closed 9 years ago

xuchunyang commented 9 years ago

In org-mode source file, I have:

#+EMAIL:       xuchunyang56@gmail.com

and the output html becomes

<a href="mailto:xuchunyang56 &lt;at&gt; gmail &lt;dot&gt; com">

so my question is how to automatically get the proper one? i.e.

<a href="mailto:xuchunyang56@gmail.com">
sillykelvin commented 9 years ago

Yeah, the email address is simply confounded to anti email spammers. Sorry that currently there is no easy way to produce a normal address. But I will take this into consideration for the next version.

sillykelvin commented 9 years ago

Currently you may need a hack on function confound-email defined in op-util.el to solve this issue.

xuchunyang commented 9 years ago

hmm, maybe you can let user to determine if they need the normal email address, i.e. if they can use example AT gmail.com instead of example@gmail.com

sillykelvin commented 9 years ago

Yeah, now the option is added, you could disable this feature with:

(setq op/confound-email nil)
xuchunyang commented 9 years ago

Well done! I've tested this feature and it works fine. Closing this issue.