escape title too
This commit is contained in:
		
							parent
							
								
									1664f932fe
								
							
						
					
					
						commit
						471bc1805a
					
				@ -198,7 +198,7 @@ class CommentListTheme extends Themelet {
 | 
			
		||||
		$h_index = "<a href='".make_link("post/list")."'>Index</a>";
 | 
			
		||||
		$h_next = ($page_number >= $total_pages) ? "Next" : "<a href='$next'>Next</a>";
 | 
			
		||||
 | 
			
		||||
		$page->set_title($user->name."'s comments");
 | 
			
		||||
		$page->set_title(html_escape($user->name)."'s comments");
 | 
			
		||||
		$page->add_block(new Block("Navigation", $h_prev.' | '.$h_index.' | '.$h_next, "left", 0));
 | 
			
		||||
		$this->display_paginator($page, "comment/beta-search/{$user->name}", null, $page_number, $total_pages);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user