Skip to content

Commit

Permalink
ImageManipulation.php API documentation fix
Browse files Browse the repository at this point in the history
The API documentation for ImageManipulation has a minor problem. The ThumbnailIcon function description is missing the `<img />` tag text in the description:
https://api.silverstripe.org/4/SilverStripe/Assets/ImageManipulation.html#method_ThumbnailIcon

This is because the `<img />` tag is unescaped in the function documentation. 

This fix changes the tag to be escaped.
  • Loading branch information
3Dgoo authored Jun 20, 2019
1 parent 9d598f3 commit ea1d769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageManipulation.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public function Thumbnail($width, $height)
/**
* Thubnail generation for all file types.
*
* Resizes images, but returns an icon <img /> tag if this is not a resizable image
* Resizes images, but returns an icon `<img />` tag if this is not a resizable image
*
* @param int $width
* @param int $height
Expand Down

0 comments on commit ea1d769

Please sign in to comment.