<?php
/**
 *  Class Visual composer Generator Empty Space
 *  This class was created to generate shortcodes of visual composer plugin,
 *  to be used in templates of custom pages wordpress
 * @author Leandro Gonçalaves <leandro@lesolution.com.br>
 * @link https://github.com/leandrogoncalves/vcgen
 * @version 1.0
 *
 */

namespace vcgen\nodes;


class Vcgen_dt_empty_space extends Vcgen_node{

    /**
     * Vcgen constructor.
     */
    public function __construct($val){
        parent::__construct();

        $attributes = [
            'height' => $val
        ];

        $this->createElement('dt_blog_scroller', $attributes, self::NODE_INLINE);

    }


}
<?php
/**
 *  Class Visual composer Generator Empty Space
 *  This class was created to generate shortcodes of visual composer plugin,
 *  to be used in templates of custom pages wordpress
 * @author Leandro Gonçalaves <leandro@lesolution.com.br>
 * @link https://github.com/leandrogoncalves/vcgen
 * @version 1.0
 *
 */

namespace vcgen\nodes;


class Vcgen_empty_space extends Vcgen_node{

    /**
     * Vcgen constructor.
     */
    public function __construct($val){
        parent::__construct();

        $attributes = [
            'height' => $val
        ];

        $this->createElement('dt_blog_scroller', $attributes, self::NODE_INLINE);

    }


}
Fix attributes of empty space node
Fix attributes of empty space node
