Skip to content

Conversation

yillkid
Copy link
Contributor

@yillkid yillkid commented Jun 11, 2016

We do not need escape html tag when create a new posts because that will break html syntax in the post field (or in the WYSIWYG editor in the future).

if (sqlite3_bind_int(statement, 1, t) != SQLITE_OK) goto fail;
if (sqlite3_bind_int(statement, 2, authorId) != SQLITE_OK) goto fail;
if (sqlite3_bind_text(statement, 3, escapedBody, -1, NULL) != SQLITE_OK)
if (sqlite3_bind_text(statement, 3, body, -1, NULL) != SQLITE_OK)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it really make sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants