Support » Plugin: Blocks CSS: CSS Editor for Gutenberg Blocks » Empty orphaned style tag

  • You should modify function render_server_side_css().
    Because this function generate empty tag:

    <style type="text/css" media="all">

    This part of code:

    $style  = "\n" . '<style type="text/css" media="all">' . "\n";
    $style .= $this->cycle_through_blocks( $blocks );
    $style .= "\n" . '</style>' . "\n";

    should be displayed if is not empty.

    Otherwise code will be:

    <style type="text/css" media="all"></style>


    • This topic was modified 7 months, 3 weeks ago by betagoo.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Empty orphaned style tag’ is closed to new replies.