bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 84cef2a69a10c12e9069d369d89617cdf6b59656
parent 5a452872550b6b4d1ca2ba5505bd76bafcb89ac4
Author: Matthew Flatt <mflatt@racket-lang.org>
Date:   Tue, 27 Nov 2012 08:07:27 -0700

adjust some comments to further clarify

original commit: 36bfae9497a4e86aa1264726b66a43afdda0948c

Diffstat:
Mcollects/scribble/html-render.rkt | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/collects/scribble/html-render.rkt b/collects/scribble/html-render.rkt @@ -1399,17 +1399,14 @@ (case i [(mdash) '(#x2014 (wbr))] ;; <wbr> encourages breaking after rather than before - ;; FIXME: blatant violation of HTML 4 *and* HTML 5 specs! + ;; FIXME: 'lang and 'rang do not match `&rang;' and `&lang;' in HTML 4 or 5. ;; Happened because of the thread: ;; <http://lists.racket-lang.org/users/archive/2008-June/025126.html> ;; ("Fonts with proper angle brackets") ;; ;; Do we still need this? See test page at <http://jsbin.com/okizeb/3>. - - [(lang) '(#x2039)] ; SINGLE LEFT-POINTING ANGLE QUOTATION MARK - [(rang) '(#x203a)] ; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - - ;; Background: + ;; + ;; More background: ;; ;; HTML 4 says (in HTMLsymbol.dtd): ;; @@ -1426,6 +1423,9 @@ ;; ;; "&lang;": { "codepoints": [10216], "characters": "\u27E8" }, ;; "&rang;": { "codepoints": [10217], "characters": "\u27E9" }, + ;; + [(lang) '(#x2039)] ; SINGLE LEFT-POINTING ANGLE QUOTATION MARK + [(rang) '(#x203a)] ; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK [else (list i)])] [else