anchor.diff:        },
         IdBin = mtc_entry:sput(#mt_post{
           author = Author,
  +        title = case Title of undefined -> Title; _ -> unicode:characters_to_binary(mtws_sanitizer:sanitize(sanitize_fix(Title))) end,
           body = case Text of undefined -> Text; _ -> unicode:characters_to_binary(mtws_sanitizer:sanitize(sanitize_fix(Text))) end,
           origin = ?MT_ORIGIN,
           tags = [unicode:characters_to_binary(sanit(unicode:characters_to_binary(T))) || T <- string:tokens(unicode:characters_to_list(list_to_binary(Tags)), ",")]
  
positive.code:   ].
  
  post_body(Post) ->
    #panel{id = "post-body", class = "post-body", body = Post#mt_post.body}.
  
  comment_tree(Comments) ->
    comment_tree(Comments, []).
  
negative.code:   end.
  
  event({post_edit, Post}) ->
    wf:replace("post",post_editor("post", Post#mt_post.title, Post#mt_post.body, Post#mt_post.tags, "Save", {save_post, Post}, "Cancel", {cancel_edit, Post})),
    ok;
  event({cancel_edit, Post}) ->
    wf:replace("post", post_body(Post)),
    ok;
  event({save_post, #mt_post{id = PostId, author = #mt_author{id = PostAuthorId}} = Post}) ->
    User = wf:user(),
  