
This commit adds: + a few tags to `scribble/html` (by extending the list in `scribble/html/html`) + even more tags to `scribble/html/extra`, these tags are "likely" to cause namespace issues (time, map) or are uncommon / esoteric (rb, ruby, svg) + a test in `scribble/html.rkt` that the tags from - `scribble/html/html` - and `scribble/html/extra` match a master list from the whatwg specification* * https://html.spec.whatwg.org/multipage/#toc-semantics
43 lines
453 B
Racket
43 lines
453 B
Racket
#lang racket/base
|
|
|
|
;; (X)HTML elements that are uncommon / likely to cause namespace conflicts
|
|
|
|
(require "xml.rkt")
|
|
|
|
(define/provide-elements/empty
|
|
source
|
|
track)
|
|
|
|
(define/provide-elements/not-empty
|
|
article
|
|
aside
|
|
audio
|
|
bdi
|
|
canvas
|
|
data
|
|
datalist
|
|
figcaption
|
|
figure
|
|
footer
|
|
header
|
|
main
|
|
map
|
|
mark
|
|
math
|
|
meter
|
|
nav
|
|
output
|
|
picture
|
|
progress
|
|
rb
|
|
rp
|
|
rt
|
|
rtc
|
|
ruby
|
|
section
|
|
summary
|
|
svg
|
|
template
|
|
time
|
|
video)
|