From 87be17209d5b443882cc1b1a8ea590db651c8058 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 18 Oct 2021 15:08:10 -0600 Subject: rename default branch --- docs/modules/api/pages/set-safe-mode.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/modules/api') diff --git a/docs/modules/api/pages/set-safe-mode.adoc b/docs/modules/api/pages/set-safe-mode.adoc index eca166a3..5548f24c 100644 --- a/docs/modules/api/pages/set-safe-mode.adoc +++ b/docs/modules/api/pages/set-safe-mode.adoc @@ -8,14 +8,14 @@ You can change the safe mode using a string, symbol or integer value. The value must be set in the document constructor using the `:safe` option. - result = Asciidoctor.convert_file('master.adoc', safe: 'server') + result = Asciidoctor.convert_file 'doc.adoc', safe: 'server' or - result = Asciidoctor.convert_file('master.adoc', safe: :server) + result = Asciidoctor.convert_file 'doc.adoc', safe: :server or - result = Asciidoctor.convert_file('master.adoc', safe: 10) + result = Asciidoctor.convert_file 'doc.adoc', safe: 10 You can also set the xref:cli:set-safe-mode.adoc[safe mode from the CLI] and xref:ROOT:reference-safe-mode.adoc[enable or disable content based on the current safe mode]. -- cgit v1.2.3