emacs-devel
[Top][All Lists]
Advanced

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

Re: Bidirectional text and URLs


From: Lars Magne Ingebrigtsen
Subject: Re: Bidirectional text and URLs
Date: Sat, 29 Nov 2014 20:31:18 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> But the problem at hand is not relevant to Web pages.  The URL in an
> anchor is always a separate entity.  Only non-HTML text where URLs are
> made active by heuristics are the case to worry about.

It's sort of relevant to web pages, too:

`M-x eww RET http://permalink.gmane.org/gmane.emacs.devel/178392 RET'

Of course, the <a> text could just contain "http://facebook.com"; without
any RTL, like

<a href="http://myspace.com";>http://facebook.com</a>

shr should warn when the <a> text is also an URL and when it's
different from the href.  But in this case, the <a> text and the href
are identical, so that check wouldn't do anything helpful, and the user
would end up on the dreaded Myspace...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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