lundi 30 mars 2015

writing escaped or unescaped HTML into sqlite database?

i scrape HTML pages and write certain values into an sqlite database.


my question is: should the values, which i insert into the database, be html escaped or unescaped? what is best practice?


right now, e.g., one value looks like this in my db (note the escaped ampersand):


enter image description here


Aucun commentaire:

Enregistrer un commentaire