You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • No difference.

    Go processes this and strips /r so that all new lines are merely /n.

    The markdown library acknowledges /n and only needs to acknowledge that as it cannot receive /r due to newline translation within Go.

    Interestingly, if Go is built for Linux (it is in our case) the strings (actually []byte) are left alone when leaving Go. But if build for Windows (it is not) then newline translation would put back all of the \r's.

    But in our case, line breaks make no difference as Go sorts it.

About

Avatar for Velocio @Velocio started