Skip to content

When using form_text_area(), invalid HTML can be generated #2623

@ddb4github

Description

@ddb4github
--- lib/html_form.php   2019-03-31 02:45:32.000000000 +0800
+++ lib/html_form.php  2019-04-08 21:03:31.370033168 +0800
@@ -1029,7 +1029,7 @@
                $placeholder = " placeholder='$placeholder'";
        }

-       print "<textarea class='$class ui-state-default ui-corner-all' aria-multiline='true' cols='$form_columns' rows='$form_rows' id='$form_name' name='$form_name'" . $class . $on_change . $placeholder . '>' . html_escape($form_previous_value) . "</textarea>\n";
+       print "<textarea class='$class ui-state-default ui-corner-all' aria-multiline='true' cols='$form_columns' rows='$form_rows' id='$form_name' name='$form_name'" . $on_change . $placeholder . '>' . html_escape($form_previous_value) . "</textarea>\n";
 }

 /* form_multi_dropdown - draws a standard html multiple select dropdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions