]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/xml/writer/writer-docs.factor
add DOCTYPE html in most places.
[factor.git] / basis / xml / writer / writer-docs.factor
index f7f9d30402b0b44f4987317c63c8adf53e7a4224..8fb155df4042dcb09970d6e3cd5918a371d5e062 100644 (file)
@@ -56,10 +56,11 @@ HELP: indenter
 HELP: sensitive-tags
 { $var-description "Contains a sequence of " { $link name } "s where whitespace should be considered significant for prettyprinting purposes. The sequence can contain " { $link string } "s in place of names. For example, to preserve whitespace inside a " { $snippet "pre" } " tag:" }
 { $example "USING: xml.syntax xml.writer namespaces ;
-[XML <html> <head>   <title> something</title></head><body><pre>bing
+[XML <!DOCTYPE html> <html> <head>   <title> something</title></head><body><pre>bing
 bang
    bong</pre></body></html> XML] { \"pre\" } sensitive-tags [ pprint-xml ] with-variable"
 "
+<!DOCTYPE html>
 <html>
   <head>
     <title>