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 {
281281 }
282282 }
283283
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 > {
285285 let mut options = markdown:: Options :: gfm ( ) ;
286286 options. compile . allow_dangerous_html = self . allow_dangerous_html ;
287287 options. compile . allow_dangerous_protocol = self . allow_dangerous_protocol ;
@@ -325,7 +325,7 @@ impl CanHelp for MarkdownHelper {
325325 other => Cow :: Owned ( other. to_string ( ) ) ,
326326 } ;
327327
328- let options = self . system_options ( preset_name) ?;
328+ let options = self . get_preset_options ( preset_name) ?;
329329 markdown:: to_html_with_options ( & markdown_src, & options)
330330 . map ( JsonValue :: String )
331331 . map_err ( |e| e. to_string ( ) )
You can’t perform that action at this time.
0 commit comments