File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ impl MarkdownHelper {
281
281
}
282
282
}
283
283
284
- fn system_options ( & self , preset_name : & str ) -> Result < markdown:: Options , String > {
284
+ fn get_preset_options ( & self , preset_name : & str ) -> Result < markdown:: Options , String > {
285
285
let mut options = markdown:: Options :: gfm ( ) ;
286
286
options. compile . allow_dangerous_html = self . allow_dangerous_html ;
287
287
options. compile . allow_dangerous_protocol = self . allow_dangerous_protocol ;
@@ -325,7 +325,7 @@ impl CanHelp for MarkdownHelper {
325
325
other => Cow :: Owned ( other. to_string ( ) ) ,
326
326
} ;
327
327
328
- let options = self . system_options ( preset_name) ?;
328
+ let options = self . get_preset_options ( preset_name) ?;
329
329
markdown:: to_html_with_options ( & markdown_src, & options)
330
330
. map ( JsonValue :: String )
331
331
. map_err ( |e| e. to_string ( ) )
You can’t perform that action at this time.
0 commit comments