Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Commit

Permalink
# Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioprog committed Jan 28, 2014
1 parent 4209926 commit 57f8e01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/chat/chatactns.pas
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ procedure TChatPostMsg.Post;
const
MSG = '<div class="msgln">(%s) <b>%s</b>: %s<br></div>';
begin
Add(MSG, [FormatDateTime('yyyy-mm-dd', Now), Session.Fields['name'].AsString,
Add(MSG, [FormatDateTime('yyyy-mm-dd', Now),
StripHTMLMarkup(Session.Fields['name'].AsString),
StripHTMLMarkup(Fields['text'].AsString)]);
Save;
end;
Expand Down

0 comments on commit 57f8e01

Please sign in to comment.