Rendering an image sometimes caused warnings:
Use of uninitialized value $w in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1559.
Use of uninitialized value $h in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1560.
My first commit adds a rather simple test to render an image which shows the warnings
The second commit fixes the code that causes the warning.
Hi!
Rendering an image sometimes caused warnings: Use of uninitialized value $w in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1559. Use of uninitialized value $h in string eq at /home/domm/perl/other/text-textile/lib/Text/Textile.pm line 1560.
My first commit adds a rather simple test to render an image which shows the warnings The second commit fixes the code that causes the warning.
Please apply if you like it...