Default to the config.h default if markup is not set
If neither the new 'markup' option is set nor 'allow_markup' then default to whatever mode is set in config.h.
This commit is contained in:
parent
faea58159c
commit
eb2fda4bde
@ -122,6 +122,8 @@ void load_settings(char *cmdline_config_path)
|
|||||||
|
|
||||||
settings.markup = (allow_markup ? MARKUP_FULL : MARKUP_STRIP);
|
settings.markup = (allow_markup ? MARKUP_FULL : MARKUP_STRIP);
|
||||||
fprintf(stderr, "Warning: 'allow_markup' is deprecated, please use 'markup' instead.\n");
|
fprintf(stderr, "Warning: 'allow_markup' is deprecated, please use 'markup' instead.\n");
|
||||||
|
} else {
|
||||||
|
settings.markup = parse_markup_mode(markup); // None are set, parse the default value from config.h
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user