Skip to content

Prevent escape html tag when create a new posts#37

Closed
yillkid wants to merge 1 commit intojserv:masterfrom
yillkid:master
Closed

Prevent escape html tag when create a new posts#37
yillkid wants to merge 1 commit intojserv:masterfrom
yillkid:master

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?

@yillkid yillkid closed this Jan 29, 2026
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