答案 0 :(得分:2)
尝试将项目级colspan
中的apostrophe-rich-text-widgets
属性列入白名单index.js
module.exports = {
sanitizeHtml: {
allowedAttributes: {
'td': ['colspan']
}
}
};
public static void add(String word){
int position = hashFunction(word);
if(array[position] == null){
array[position] = new Node(word, null);
}else{
Node newHead = new Node(word, array[position]);
array[position] = newHead;
}
}