Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -607,8 +607,12 @@ |
608 | 608 | $summary = $parser->recursiveTagParse( $value ); |
609 | 609 | break; |
610 | 610 | default : |
| 611 | + // The decode-encode sequence allows users to pass wikitext |
| 612 | + // to the target form without having it parsed right away. |
| 613 | + // To do that they need to use htmlentities instead of |
| 614 | + // braces and brackets |
611 | 615 | $formcontent .= |
612 | | - Xml::input( $key, false, urldecode( $value ) , array( 'type' => 'hidden') ); |
| 616 | + Xml::input( $key, false, htmlentities( html_entity_decode( $value ) ) , array( 'type' => 'hidden') ); |
613 | 617 | } |
614 | 618 | } |
615 | 619 | |