Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -612,7 +612,7 @@ |
613 | 613 | // To do that they need to use htmlentities instead of |
614 | 614 | // braces and brackets |
615 | 615 | $formcontent .= |
616 | | - Xml::input( $key, false, htmlentities( html_entity_decode( $value ) ) , array( 'type' => 'hidden') ); |
| 616 | + Xml::input( $key, false, Sanitizer::decodeCharReferences( $value ) , array( 'type' => 'hidden' ) ); |
617 | 617 | } |
618 | 618 | } |
619 | 619 | |
— | — | @@ -631,7 +631,7 @@ |
632 | 632 | } |
633 | 633 | |
634 | 634 | $formcontent .= |
635 | | - Xml::input( 'wpSummary', false, urldecode( $summary ), array('type' => 'hidden') ); |
| 635 | + Xml::input( 'wpSummary', false, $summary, array('type' => 'hidden') ); |
636 | 636 | |
637 | 637 | $form = Xml::tags( 'form', array( 'class' => 'autoedit-data' ), $formcontent ); |
638 | 638 | |