[wp-trac] [WordPress Trac] #51302: Lots of newlines in REST API rendered content when using block editor

WordPress Trac noreply at wordpress.org
Mon Sep 14 10:15:01 UTC 2020


#51302: Lots of newlines in REST API rendered content when using block editor
--------------------------+------------------------------
 Reporter:  rmens         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  5.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by rmens):

 Hi @joyously, after some more testing this does seem to be the case.
 Normal HTML-comments like {{{<!-- this is a comment -->}}} don't convert
 to {{{\n}}} but block markers are.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51302#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list