fixing PR13210
This commit is contained in:
parent
fa5846cb0c
commit
7f23a85e15
|
@ -661,10 +661,10 @@ following content:
|
||||||
web-server/insta
|
web-server/insta
|
||||||
(define (start request)
|
(define (start request)
|
||||||
(response/xexpr
|
(response/xexpr
|
||||||
'(html (head (title "Testing"))
|
'(html (head (title "Testing")
|
||||||
(link ((rel "stylesheet")
|
(link ((rel "stylesheet")
|
||||||
(href "/test-static.css")
|
(href "/test-static.css")
|
||||||
(type "text/css")))
|
(type "text/css"))))
|
||||||
(body (h1 "Testing")
|
(body (h1 "Testing")
|
||||||
(h2 "This is a header")
|
(h2 "This is a header")
|
||||||
(p "This is " (span ((class "hot")) "hot") ".")))))
|
(p "This is " (span ((class "hot")) "hot") ".")))))
|
||||||
|
@ -1255,7 +1255,7 @@ For example, @racket[input-string] is itself a library
|
||||||
@racket[title] to that string.
|
@racket[title] to that string.
|
||||||
|
|
||||||
@racket[input-string] is rendered as @racketresult[`(input ([type "text"] [name
|
@racket[input-string] is rendered as @racketresult[`(input ([type "text"] [name
|
||||||
,_fresh_name]))], so @racket[(formlet-dispay
|
,_fresh_name]))], so @racket[(formlet-display
|
||||||
new-post-formlet)] is rendered as:
|
new-post-formlet)] is rendered as:
|
||||||
@racketresultblock[
|
@racketresultblock[
|
||||||
(list '(input ([type "text"] [name "input_0"]))
|
(list '(input ([type "text"] [name "input_0"]))
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#lang web-server/insta
|
#lang web-server/insta
|
||||||
(define (start request)
|
(define (start request)
|
||||||
(response/xexpr
|
(response/xexpr
|
||||||
'(html (head (title "Testing"))
|
'(html (head (title "Testing")
|
||||||
(link ((rel "stylesheet")
|
(link ((rel "stylesheet")
|
||||||
(href "/test-static.css")
|
(href "/test-static.css")
|
||||||
(type "text/css")))
|
(type "text/css"))))
|
||||||
(body (h1 "This is a header")
|
(body (h1 "This is a header")
|
||||||
(p "This is " (span ((class "hot")) "hot") ".")))))
|
(p "This is " (span ((class "hot")) "hot") ".")))))
|
||||||
(static-files-path "htdocs")
|
(static-files-path "htdocs")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user