Permalink
Browse files

html5

  • Loading branch information...
1 parent f2014df commit e0c2396fed253b996daadede5d5dc41f324361e7 @timburks committed Aug 25, 2012
Showing with 107 additions and 5 deletions.
  1. +1 −1 Nukefile
  2. +106 −4 nu/html5.nu
View
@@ -5,7 +5,7 @@
(set SYSTEM ((NSString stringWithShellCommand:"uname") chomp))
(case SYSTEM
("Darwin"
- (set @arch (list "i386" "x86_64"))
+ (set @arch (list "x86_64"))
(set @cflags "-g -std=gnu99 -fobjc-gc -DDARWIN")
(set @ldflags "-framework Foundation -framework Nu"))
("Linux"
View
@@ -1,30 +1,132 @@
(load "NuMarkup:macros")
-(set &html5 (NuMarkupOperator operatorWithTag:"html" prefix:"<!DOCTYPE html>" contents:nil))
+(set &html (NuMarkupOperator operatorWithTag:"html" prefix:"<!DOCTYPE html>" contents:nil))
-(markup address
+(markup a
+ abbr
+ acronym
+ address
+ applet
+ area
article
aside
audio
+ b
+ base
+ bdi
+ bdo
+ big
+ blockquote
+ body
+ br
+ button
canvas
+ caption
+ center
+ cite
+ code
+ col
+ colgroup
command
datalist
+ dd
+ del
details
+ dfn
+ dir
+ div
+ dl
+ dt
+ em
embed
+ fieldset
figcaption
figure
+ font
footer
+ form
+ frame
+ frameset
+ h1
+ h2
+ h3
+ h4
+ h5
+ h6
+ head
header
hgroup
+ hr
+ html
+ i
+ iframe
+ img
+ input
+ ins
keygen
+ kbd
+ label
+ legend
+ li
+ link
+ map
mark
+ menu
+ meta
meter
nav
+ noframes
+ noscript
+ object
+ ol
+ optgroup
+ option
output
+ p
+ param
+ pre
progress
+ q
+ rp
+ rt
+ ruby
+ s
+ samp
+ script
section
+ select
+ small
+ source
+ span
+ strike
+ strong
+ style
+ sub
summary
- svg
+ sup
+ table
+ tbody
+ td
+ textarea
+ tfoot
+ th
+ thead
time
+ title
+ tr
+ track
+ tt
+ u
+ ul
+ var
video
- wbr)
+ wbr)
+
+(send &meta setEmpty:YES)
+(send &link setEmpty:YES)
+(send &hr setEmpty:YES)
+(send &br setEmpty:YES)
+(send &img setEmpty:YES)
+(send &area setEmpty:YES)
+(send &input setEmpty:YES)
+(send &col setEmpty:YES)

0 comments on commit e0c2396

Please sign in to comment.