Fix note extract tags might get encoded HTML entity
This commit is contained in:
		
							parent
							
								
									f5d471106c
								
							
						
					
					
						commit
						07673f0726
					
				@ -285,7 +285,7 @@ module.exports = function (sequelize, DataTypes) {
 | 
				
			|||||||
                        if (/^tags/gmi.test($(value).text())) {
 | 
					                        if (/^tags/gmi.test($(value).text())) {
 | 
				
			||||||
                            var codes = $(value).find("code");
 | 
					                            var codes = $(value).find("code");
 | 
				
			||||||
                            for (var i = 0; i < codes.length; i++) {
 | 
					                            for (var i = 0; i < codes.length; i++) {
 | 
				
			||||||
                                var text = $(codes[i]).html().trim();
 | 
					                                var text = S($(codes[i]).text().trim()).stripTags().s;
 | 
				
			||||||
                                if (text) rawtags.push(text);
 | 
					                                if (text) rawtags.push(text);
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user