Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -187,6 +187,8 @@ |
188 | 188 | } |
189 | 189 | } |
190 | 190 | if ($inLinkType == 'button') { |
| 191 | + $link_url = html_entity_decode($link_url, ENT_QUOTES); |
| 192 | + $link_url = str_replace("'", "\'", $link_url); |
191 | 193 | $str = "<form><input type=\"button\" value=\"$inLinkStr\" onclick=\"window.location.href='$link_url'\"></form>"; |
192 | 194 | } elseif ($inLinkType == 'post button') { |
193 | 195 | $str = "<form action=\"$link_url\" method=\"post\"><input type=\"submit\" value=\"$inLinkStr\">$hidden_inputs</form>"; |