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 fa69afbe71f09f1e14a494130ae7fd872be6e57b
parent b647bf3ad8614fc098f85833f0f74bcf58829ff4
Author: Samuel Bronson <naesten@gmail.com>
Date:   Sat, 13 Oct 2012 18:39:35 -0400

scribble: Rename attribute pltdoc -> data-pltdoc, which is valid in HTML5.
(pltdoc isn't valid in any version of HTML.)

original commit: 5a216cc4ce2b789f4f6cd6c7f1dd4d44099fb325

Diffstat:
Mcollects/scribble/html-render.rkt | 8++++----
Mcollects/scribble/scribble-common.js | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/collects/scribble/html-render.rkt b/collects/scribble/html-render.rkt @@ -420,7 +420,7 @@ [class ,(if (or (eq? t d) (and show-mine? (memq t toc-chain))) "tocviewselflink" "tocviewlink")] - [pltdoc "x"]) + [data-pltdoc "x"]) ,@(render-content (or (part-title-content t) '("???")) d ri))) (format-number (collected-info-number (part-collected-info t ri)) '(nbsp)))) @@ -610,7 +610,7 @@ [(part? p) "tocsubseclink"] [any-parts? "tocsubnonseclink"] [else "tocsublink"])] - [pltdoc "x"]) + [data-pltdoc "x"]) ,@(render-content (if (part? p) (or (part-title-content p) @@ -813,7 +813,7 @@ url)) (make-attributes `([title . ,(if title* (string-append label " to " title*) label)] - [pltdoc . "x"] + [data-pltdoc . "x"] ,@more))))) (define top-link (titled-url @@ -1150,7 +1150,7 @@ ;; Normal link: (dest->url dest)])) ,@(attribs) - [pltdoc "x"]] + [data-pltdoc "x"]] ,@(if (empty-content? (element-content e)) (render-content (strip-aux (dest-title dest)) part ri) (render-content (element-content e) part ri)))) diff --git a/collects/scribble/scribble-common.js b/collects/scribble/scribble-common.js @@ -26,7 +26,7 @@ function GetPageArg(key, def) { function MergePageArgsIntoLink(a) { if (page_args.length == 0 || - (!a.attributes["pltdoc"]) || (a.attributes["pltdoc"].value == "")) + (!a.attributes["data-pltdoc"]) || (a.attributes["data-pltdoc"].value == "")) return; a.href.search(/^([^?#]*)(?:\?([^#]*))?(#.*)?$/); if (RegExp.$2.length == 0) {