Help with the markdown previewer

I posted this early, but I wasn’t able to get a response that helped with the problem, and I think part of my issue was that I posted it in the wrong subforum, so I’m trying again. My markdown previewer is working for the most part except one issue. This is my input reducer for Redux:

  function inputRedux(state = INITIAL_STATE, action){
    switch(action.type){
      case UPDATE:
        return {
          input: action.input,
          marked: marked(action.input,{
            breaks: true
          })
        };
      default: return state;
    };
  }

currently, it fails on test #6: “When my markdown previewer first loads, the default markdown in the #editor field should be rendered as HTML in the #preview element”

If I remove the breaks: true option, then test 6 passes, but test 7 fails: " OPTIONAL BONUS (you do not need to make this test pass): My markdown previewer interprets carriage returns and renders them as
(line break) elements (HINT: read the Marked.js docs for this one!)."

According to https://www.diffchecker.com/ the generated html in both cases is identical.