python - Do searches in RichText Field? -


i using ckeditor manage rich text. need searches in field, example, words strange characters saved html format. example, in front page word 'està' in bd save 'est&agrave', them, search never match.

some advice?, thinking in use html2text functionality transform html-text in plain text.

thanks answers.

if want save content in unicode instead of using html entities, set config

config.removeplugins = 'entities'; config.entities = false; 

i because need 100% xml compatability , far works enough, remove xml-breaking characters clever users paste editor.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -