summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-06 03:20:52 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-06 03:20:52 -0300
commit1b8f5ae3d189c88b18710945cf08824766ddfabb (patch)
tree13f6ef279ca74c2e15e0a5edd6856b21b0c21a44
parent89e1a73a4bb154f2e2c6069eb7273abce9984cdd (diff)
downloadshtml-1b8f5ae3d189c88b18710945cf08824766ddfabb.tar.gz
shtml-1b8f5ae3d189c88b18710945cf08824766ddfabb.zip
Fix support for singleton tags
-rw-r--r--shtml.lisp24
1 files changed, 12 insertions, 12 deletions
diff --git a/shtml.lisp b/shtml.lisp
index fe20999..aeb4400 100644
--- a/shtml.lisp
+++ b/shtml.lisp
@@ -46,12 +46,12 @@
(define-html a :attrs (download href hreflang media ping referrerpolicy rel target type))
(define-html abbr)
(define-html address)
-(define-html area :attrs (alt coords download href hreflang media referrerpolicy rel shape target type))
+(define-html area :attrs (alt coords download href hreflang media referrerpolicy rel shape target type) :single t)
(define-html article)
(define-html aside)
(define-html audio :attrs (autoplay controls loop muted preload src))
(define-html b)
-(define-html base :attrs (href target))
+(define-html base :attrs (href target) :single t)
(define-html blockquote :attrs (cite))
(define-html body)
(define-html br :single t)
@@ -60,7 +60,7 @@
(define-html caption)
(define-html cite)
(define-html code)
-(define-html col :attrs (span))
+(define-html col :attrs (span) :single t)
(define-html colgroup :attrs (span))
(define-html data :attrs (value))
(define-html datalist)
@@ -71,7 +71,7 @@
(define-html dl)
(define-html dt)
(define-html em)
-(define-html embed :attrs (height src type width))
+(define-html embed :attrs (height src type width) :single t)
(define-html fieldset :attrs (disabled form name))
(define-html figcaption)
(define-html figure)
@@ -89,16 +89,16 @@
(define-html hr :single t)
(define-html html :attrs (xmlns))
(define-html i)
-(define-html img :attrs (alt crossorigin height ismap loading longdesc referrerpolicy sizes src srcset usemap width))
-(define-html input :attrs (accept alt autocomplete autofocus checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min minlength multiple name pattern placeholder readonly required size src step type value width))
+(define-html img :attrs (alt crossorigin height ismap loading longdesc referrerpolicy sizes src srcset usemap width) :single t)
+(define-html input :attrs (accept alt autocomplete autofocus checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min minlength multiple name pattern placeholder readonly required size src step type value width) :single t)
(define-html ins :attrs (cite datetime))
(define-html label :attrs (for form))
(define-html legend)
(define-html li :attrs (value))
-(define-html link :attrs (crossorigin href hreflang media referrerpolicy rel sizes type))
+(define-html link :attrs (crossorigin href hreflang media referrerpolicy rel sizes type) :single t)
(define-html main)
(define-html mark)
-(define-html meta :attrs (charset content http_equiv name))
+(define-html meta :attrs (charset content http_equiv name) :single t)
(define-html nav)
(define-html noscript)
(define-html object :attrs (data form height name type usemap width))
@@ -107,7 +107,7 @@
(define-html option :attrs (disabled label selected value))
(define-html output :attrs (for form name))
(define-html p)
-(define-html param :attrs (name value))
+(define-html param :attrs (name value) :single t)
(define-html picture)
(define-html pre)
(define-html progress :attrs (max value))
@@ -118,7 +118,7 @@
(define-html section)
(define-html select :attrs (autofocus disabled form multiple name requred size))
(define-html small)
-(define-html source :attrs (media sizes src srcset type))
+(define-html source :attrs (media sizes src srcset type) :single t)
(define-html span)
(define-html strong)
(define-html style :attrs (media type))
@@ -136,9 +136,9 @@
(define-html thead)
(define-html title)
(define-html tr)
-(define-html track :attrs (default kind label src srclang))
+(define-html track :attrs (default kind label src srclang) :single t)
(define-html u)
(define-html ul)
(define-html var)
(define-html video :attrs (autoplay controls height loop muted poster preload src width))
-(define-html wbr)
+(define-html wbr :single t)