     $body.on 'keydown', maybeSave
     $body.on 'keydown', maybeCancelEditing
 
-  lock = (content, lines = []) ->
-    content ?= getDomContent()
-
+  lock = (content = contentSrc) ->
     options = {
       highlight: (code, language) ->
         return hljs.highlight(language, code).value

      return

    done = (body, status, xhr) ->
      currentContent = body
      lock body

    fail = () ->
      edit newTaste

  getDomContent = () ->
    $content[0].innerText

  setContent = (content) ->
    if 'innerText' of $content[0]
      contentSrc = $content[0].innerText = content
    else
      content = content.replace
      contentSrc = $content[0].innerHTML = he.encode content

  wantsToEdit = (evt) ->
    metaKey = evt.ctrlKey
