emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Export of irc links in ox-html


From: Jay Kamat
Subject: [O] [PATCH] Export of irc links in ox-html
Date: Sun, 24 Sep 2017 01:18:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)

Hi!

IRC links in ox-html are currently broken. There exists a special 'irc'
content handler on the web, telling browsers to open an irc link in an
external irc client. The format for such links seems identical to org
(irc:irc.freenode.net/user).

Previously links such as:

[[irc:irc.freenode.net/test][Irc link]]

Would export to 

<a href="irc.freenode.net/test">Irc link</a>

in ox-html.

After this tiny patch, it exports to:

<a href="irc:irc.freenode.net/test">Irc link</a>

which tells browsers such as firefox to open links in irc clients.

Let me know if you find any issues!

-Jay

Attachment: 0001-ox-html.el-Fix-irc-links-exporting-to-link-to-local-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]