~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Escape &<> when they appear in href text.
[sgt/halibut]
/
inputs
/
test.but
diff --git
a/inputs/test.but
b/inputs/test.but
index
95b8346
..
dddc2dd
100644
(file)
--- a/
inputs/test.but
+++ b/
inputs/test.but
@@
-16,8
+16,8
@@
document}{sub-sub}
\cfg{info-charset}{utf-8}
\cfg{man-headnumbers}{true}
\cfg{info-charset}{utf-8}
\cfg{man-headnumbers}{true}
-\cfg{contents}{Contents
(edited)
}
-\cfg{index}{Index
(alsoedited)
}
+\cfg{contents}{Contents
- edited title
}
+\cfg{index}{Index
- also edited title
}
This paragraph is not labelled \q{preamble}, but should still appear
as it.
This paragraph is not labelled \q{preamble}, but should still appear
as it.
@@
-87,6
+87,8
@@
Here's a code paragraph:
\c We can use discretionary bold and italic in code paragraphs!
\e bbbb iiiiii
\c Isn't that ludicrous?
\c We can use discretionary bold and italic in code paragraphs!
\e bbbb iiiiii
\c Isn't that ludicrous?
+\c
+\c man page tricky characters: command -o 'quoted' -o `backticks`
This is a list:
This is a list:
@@
-276,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}}.
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://a<b&c>d/}{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
\#{FIXME: Unfortunately, we still don't quite do the right thing with
references:
How about a \e{reference to \k{subhead} here}? And at