Development

Changeset 23774

You must first sign up to be able to contribute.

Changeset 23774

Show
Ignore:
Timestamp:
11/11/09 05:38:34 (4 years ago)
Author:
Krapulator
Message:

Fixed html encoding issue. Fixed typo in README

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfXstandardEditorPlugin/README

    r22972 r23774  
    2121 
    2222  * The plugin makes available a new form widget called sfWidgetFormXstandardEditor. Simply define your form as normal, but for the field which needs the editor, use: 
    23     [php] 
    24       new sfWidgetFormXstandardEditor(); 
     23       
     24        [php] 
     25        new sfWidgetFormXstandardEditor();     
    2526   
    2627TODO 
  • plugins/sfXstandardEditorPlugin/lib/widget/sfWidgetFormXstandardEditor.class.php

    r23016 r23774  
    6565  public function renderParamTag($key, $value) 
    6666  { 
    67     return '<param name="' . $key . '" value="' . self::escapeOnce($value) . '" />'; 
     67    return '<param name="' . $key . '" value="' . htmlspecialchars($value, ENT_QUOTES, self::getCharset()) . '" />'; 
    6868  } 
    6969