From 158f066876fea5e0b64919db5ca1f74ea7ad82db Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 10 Nov 2009 19:03:11 +0000 Subject: Escape &<> when they appear in href text. [originally from svn r8743] --- inputs/test.but | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inputs') diff --git a/inputs/test.but b/inputs/test.but index b1f669a..dddc2dd 100644 --- a/inputs/test.but +++ b/inputs/test.but @@ -278,6 +278,11 @@ Similarly, we should support things like hyperlinks and \e{in the \W{http://www.tartarus.org/}{middle} of them}, and also \e{at the \W{http://home.att.net/~cecw/lastpage.htm}{end}}. +Here's a hyperlink containing some special characters: +\W{http://ad/}{here}. (Not that it'll \e{work}, but you can at +least determine that it's been correctly escaped by inspection of +the output HTML.) + \#{FIXME: Unfortunately, we still don't quite do the right thing with references: How about a \e{reference to \k{subhead} here}? And at -- cgit v1.1