Skip to content

Commit

Permalink
Change safe to unsafe_
Browse files Browse the repository at this point in the history
Minor change in comrak resulted in needing to change the variable name.
  • Loading branch information
dariusc93 committed Dec 12, 2018
1 parent e833ef8 commit 56c298b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bindings/app/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn comrak_options_from_table(table: &HashMap<String, LuaValue>) -> Result<Comrak
(DEFAULT_INFO_STRING, LuaValue::String(val)) => {
options.default_info_string = Some(val.to_str()?.to_string())
}
(SAFE, LuaValue::Boolean(val)) => options.safe = *val,
(SAFE, LuaValue::Boolean(val)) => options.unsafe_ = *val,
(EXT_STRIKETHROUGH, LuaValue::Boolean(val)) => options.ext_strikethrough = *val,
(EXT_TAGFILTER, LuaValue::Boolean(val)) => options.ext_tagfilter = *val,
(EXT_TABLE, LuaValue::Boolean(val)) => options.ext_table = *val,
Expand Down

0 comments on commit 56c298b

Please sign in to comment.