I'm writing a plugin in version 4.0.
I'm adding a order note upon checkout. I want to use HTML formatting so the order note is displayed with line breaks.
When I look in the code. The Details view use
That's fine. But the model order note text is formatted with an extension method with a parameter
allowHtml == false.
So the HTML is removed.
Why is this formatting added to the note?
Is there a way that I can add the line breaks from my plugin code, without having to alter core code?