Révision fc3d89c3
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/media/media.module | ||
---|---|---|
1162 | 1162 |
|
1163 | 1163 |
// Load alt and title text from fields. |
1164 | 1164 |
if (!empty($alt)) { |
1165 |
$file->alt = token_replace($alt, array('file' => $file), $replace_options);
|
|
1165 |
$file->alt = decode_entities(token_replace($alt, array('file' => $file), $replace_options));
|
|
1166 | 1166 |
} |
1167 | 1167 |
if (!empty($title)) { |
1168 |
$file->title = token_replace($title, array('file' => $file), $replace_options);
|
|
1168 |
$file->title = decode_entities(token_replace($title, array('file' => $file), $replace_options));
|
|
1169 | 1169 |
} |
1170 | 1170 |
} |
1171 | 1171 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules