redmine_wiki_formatting: continue search for markers if markdown marker is not in the first 20 characters
--- a/plugins/redmine_wiki_formatting/lib/rwf_application_helper_patch.rb
+++ b/plugins/redmine_wiki_formatting/lib/rwf_application_helper_patch.rb
@@ -47,7 +47,7 @@
         text.slice!("formatting=textile")
         text = Redmine::WikiFormatting.to_html(formatting, text, :object => obj, :attribute => attr)
       end
-    elsif not pos2.nil? then
+     elsif not pos2.nil? and pos2 < 20 then
       if pos2 < 20 then
         formatting = "markdown"
         text.slice!("formatting=markdown")
@@ -87,4 +87,4 @@
   end
 end
 
-ApplicationHelper.include(RwfApplicationHelperPatch)
\ No newline at end of file
+ApplicationHelper.include(RwfApplicationHelperPatch)
