Golang IDE: Why I moved from Jetbrains to Microsoft

You see I’m pretty pissed about Jetbrains. First they turn the buy to own model into a subscription model, then they develop a Go IDE. But what that’s good, right? Yeah in theory that’s awesome, if only it didn’t cost the world. But let me start from the beginning. I use Webstorm because I do […]

Angular nl2br

newline to br You don’t need any fancy pipes, all you need is plain old css. Add the following to your name.component.css or name.component.scss (where name is the name of your component) .nl2br { white-space: pre-line; } and later in your html, assuming your variable is called message.body {{message.body}} And done. Enjoy simplicity.