if (options.containsKey(Options.HEADER_FOOTER)) {
optionsAndAttributes.append(AsciidoctorCliOptions.NO_HEADER_FOOTER).append(" ");
}
if (options.containsKey(Options.SAFE)) {
SafeMode getSafeMode = SafeMode.values()[(Integer) options.get(Options.SAFE)];
optionsAndAttributes.append(AsciidoctorCliOptions.SAFE)
.append(" ").append(getSafeMode)
.append(" ");
}