Fix another nil pointer panic in the HTML parser (ref #20)
This commit is contained in:
		@@ -118,6 +118,9 @@ func (parser *MatrixHTMLProcessor) HandleSelfClosingTag(tagName string, attrs ma
 | 
			
		||||
 | 
			
		||||
func (parser *MatrixHTMLProcessor) HandleEndTag(tagName string) {
 | 
			
		||||
	tag := parser.openTags.Pop(tagName)
 | 
			
		||||
	if tag == nil {
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	switch tag.Tag {
 | 
			
		||||
	case "li", "blockquote":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user