Todd Zullinger 3492e3
diff -up asciidoc-8.4.5/asciidoc.py.default-unsafe asciidoc-8.4.5/asciidoc.py
Todd Zullinger 3492e3
--- asciidoc-8.4.5/asciidoc.py.default-unsafe	2009-05-25 22:12:38.000000000 -0400
Todd Zullinger 3492e3
+++ asciidoc-8.4.5/asciidoc.py	2009-07-16 02:27:09.000000000 -0400
Todd Zullinger 3492e3
@@ -1138,7 +1138,7 @@ class Document:
Todd Zullinger 3492e3
         self.level = 0          # 0 => front matter. 1,2,3 => sect1,2,3.
Todd Zullinger 3492e3
         self.has_errors = False # Set true if processing errors were flagged.
Todd Zullinger 3492e3
         self.has_warnings = False # Set true if warnings were flagged.
Todd Zullinger 3492e3
-        self.safe = True        # Default safe mode.
Todd Zullinger 3492e3
+        self.safe = False       # Default safe mode.
Todd Zullinger 3492e3
     def update_attributes(self):
Todd Zullinger 3492e3
         # Set implicit attributes.
Todd Zullinger 3492e3
         if self.infile and os.path.exists(self.infile):
Todd Zullinger 3492e3
@@ -5205,8 +5205,8 @@ def execute(cmd,opts,args):
Todd Zullinger 3492e3
     for o,v in opts:
Todd Zullinger 3492e3
         if o in ('--help','-h'):
Todd Zullinger 3492e3
             help_option = True
Todd Zullinger 3492e3
-        if o == '--unsafe':
Todd Zullinger 3492e3
-            document.safe = False
Todd Zullinger 3492e3
+        if o == '--safe':
Todd Zullinger 3492e3
+            document.safe = True
Todd Zullinger 3492e3
         if o == '--version':
Todd Zullinger 3492e3
             print('asciidoc %s' % VERSION)
Todd Zullinger 3492e3
             sys.exit(0)
Todd Zullinger 3492e3
diff -up asciidoc-8.4.5/doc/asciidoc.1.default-unsafe asciidoc-8.4.5/doc/asciidoc.1
Todd Zullinger 3492e3
--- asciidoc-8.4.5/doc/asciidoc.1.default-unsafe	2009-05-26 02:38:36.000000000 -0400
Todd Zullinger 3492e3
+++ asciidoc-8.4.5/doc/asciidoc.1	2009-08-12 23:51:09.000000000 -0400
Todd Zullinger 3492e3
@@ -123,9 +123,9 @@ Auto\-number HTML article section titles
Todd Zullinger 3492e3
 \fB\-a numbered\fR\.
Todd Zullinger 3492e3
 .RE
Todd Zullinger 3492e3
 .PP
Todd Zullinger 3492e3
-\fB\-\-unsafe\fR
Todd Zullinger 3492e3
+\fB\-\-safe\fR
Todd Zullinger 3492e3
 .RS 4
Todd Zullinger 3492e3
-Disable safe mode\. Safe mode is enabled by default, disabling it is potentially dangerous\.
Todd Zullinger 3492e3
+Enable safe mode\. Safe mode is disabled by default\.
Todd Zullinger 3492e3
 .RE
Todd Zullinger 3492e3
 .PP
Todd Zullinger 3492e3
 \fB\-v, \-\-verbose\fR