newlines were getting stripped
This commit is contained in:
		
					parent
					
						
							
								1002f9dc96
							
						
					
				
			
			
				commit
				
					
						d5ac7e938b
					
				
			
		
					 2 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										1
									
								
								boot.php
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								boot.php
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -910,7 +910,6 @@ function xmlify($str) {
 | 
			
		|||
			case "'" :
 | 
			
		||||
				$buffer .= ''';
 | 
			
		||||
				break;
 | 
			
		||||
 | 
			
		||||
			case "\"" :
 | 
			
		||||
				$buffer .= '"';
 | 
			
		||||
				break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,7 +32,7 @@ function html2bbcode($s) {
 | 
			
		|||
	// Replace with
 | 
			
		||||
 | 
			
		||||
	$bbtags = array(
 | 
			
		||||
		'',
 | 
			
		||||
		"\n",
 | 
			
		||||
		'[b]$1[/b]',
 | 
			
		||||
		'[i]$1[/i]',
 | 
			
		||||
		'[u]$1[/u]',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue