tag finder tweak
This commit is contained in:
		
					parent
					
						
							
								33037754d8
							
						
					
				
			
			
				commit
				
					
						5d77bd9489
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								boot.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1692,7 +1692,7 @@ function get_tags($s) {
 | 
			
		|||
 | 
			
		||||
	$s = preg_replace('/\[code\](.*?)\[\/code\]/sm','',$s);
 | 
			
		||||
 | 
			
		||||
	if(preg_match_all('/([@#][^ \x0D\x0A,:?]*)([ \x0D\x0A,:?]|$)/',$s,$match)) {
 | 
			
		||||
	if(preg_match_all('/([@#][^ \x0D\x0A,:?]+)([ \x0D\x0A,:?]|$)/',$s,$match)) {
 | 
			
		||||
		foreach($match[1] as $match) {
 | 
			
		||||
			if(strstr($match,"]")) {
 | 
			
		||||
				// we might be inside a bbcode color tag - leave it alone
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue