Plugins ignored a line breaks or tag in the WordPress comment functions

Question

I found out there is a plugins for ticket support. It uses the WordPress comments functions in the ticket system reply.

The issue is the plugin will not accept a line break or with <br.>. How can I make it to accept the <br.> tag or lines break?

                <div class="reply_form">
                    <?php
                    $comments_args = array(
                        'title_reply' => __('Reply', 'orbisius_support_tickets'),
                        'title_reply_to' => '',
                        'label_submit' => __('Send', 'orbisius_support_tickets'),
                        'comment_notes_after' => '',
                        'comment_notes_after' => '',
                        'comment_notes_before' => '',
                        'comment_field'        => '<p class="comment-form-comment"><label for="comment">' . '</label> <textarea id="comment" name="comment" cols="45" rows="5" maxlength="65525" required="required"></textarea></p>',
                    );

Here is the plugin if you are interested.
https://we.tl/t-iLFfJ3wKxH

Live Demo Website with the plugin installed:
https://qwq.rf.gd/?orbisius_support_tickets_data%5Bticket_id%5D=51

Line-break applied.
Pictures Examples
After Submit, the line-break are not working.
After Submit Comments

in progress 0
Liang 2 months 2021-10-09T11:54:06-05:00 0 Answer 0 views 0

Answer ( 1 )

    0
    2021-10-12T13:51:57-05:00

    It works after I added the CSS code! div.reply { white-space: pre-line !important; } appreciate it!

Leave an answer

Browse
Browse