fix: wikilink patch not applying to transformed text like apostrophes
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
			
		||||
{{end}}
 | 
			
		||||
 | 
			
		||||
{{/* Wikilinks */}}
 | 
			
		||||
{{$wikilinks := $raw | findRE "!?\\[\\[\\S[^\\[\\]\\|]*(?:\\|[^\\[\\]]*)?\\S\\]\\]" }}
 | 
			
		||||
{{$wikilinks := $content | findRE "!?\\[\\[\\S[^\\[\\]\\|]*(?:\\|[^\\[\\]]*)?\\S\\]\\]" }}
 | 
			
		||||
{{$codefences := $raw | findRE "\\x60[^\\x60\\n]+\\x60"}}
 | 
			
		||||
{{$codeblocks := $raw | findRE "\\x60{3}[^\\x60]+\\x60{3}"}}
 | 
			
		||||
{{$code := union $codefences $codeblocks}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user