commonmark icon indicating copy to clipboard operation
commonmark copied to clipboard

[WIP]: move trim from parser to renderer

Open MrSpoocy opened this issue 3 years ago • 0 comments

There is a PHPCS bug that I don't understand what is wrong with it: "Incorrect annotations group."

Locally there are still 4 PHPUnit tests which fail. But I am not sure if there is not a fundamental error in thinking there. Because in XML there is the flag "xml:space="preserve"". It could even be that the test needs to be rethought.

This pull-request is just to give you the opportunity to think about my suggestion (https://github.com/thephpleague/commonmark/discussions/923) and see how I implemented it.

MrSpoocy avatar Sep 20 '22 10:09 MrSpoocy