| 
																	
																	
																		
																	
																	
																 | 
																@@ -22,6 +22,8 @@ class TextlinksPlugin(Plugin): | 
															
														
														
													
														
															
																 | 
																 | 
																        with | 
																 | 
																 | 
																        with | 
															
														
														
													
														
															
																 | 
																 | 
																        {{ media_url('/abc/def') }} or equivalent. | 
																 | 
																 | 
																        {{ media_url('/abc/def') }} or equivalent. | 
															
														
														
													
														
															
																 | 
																 | 
																        """ | 
																 | 
																 | 
																        """ | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        if not resource.uses_template: | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																            return text | 
															
														
														
													
														
															
																 | 
																 | 
																        content_link = re.compile('\[\[([^\]^!][^\]]*)\]\]', re.UNICODE|re.MULTILINE) | 
																 | 
																 | 
																        content_link = re.compile('\[\[([^\]^!][^\]]*)\]\]', re.UNICODE|re.MULTILINE) | 
															
														
														
													
														
															
																 | 
																 | 
																        media_link = re.compile('\[\[\!\!([^\]]*)\]\]', re.UNICODE|re.MULTILINE) | 
																 | 
																 | 
																        media_link = re.compile('\[\[\!\!([^\]]*)\]\]', re.UNICODE|re.MULTILINE) | 
															
														
														
													
														
															
																 | 
																 | 
																        def replace_content(match): | 
																 | 
																 | 
																        def replace_content(match): | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |