qqzsxyz / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 0 forks source link

Thumbnail image generation missing 'style=' where style info present (regression) #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a thumbnail link in vimwiki like:
[[local:pictures/chase_accident/van_right_side.jpg][{{local:pictures/chase_accid
ent/van_right_side.jpg}{Van Right Side}{width:100px; padding: 20px; display: 
inline;}}]]
2. :vimwiki2html

What is the expected output? What do you see instead?
Expected: 
<a 
href="file:///home/firecat53/.local/share/vimwiki/pictures/chase_accident/car_bu
mper_angled.jpg"><img 
src="file:///home/firecat53/.local/share/vimwiki/pictures/chase_accident/car_bum
per_angled.jpg" alt="Car Bumper Angled" style="width:100px; padding: 20px; 
display: inline;" /></a>

Actual (missing style=" and end")
<a 
href="file:///home/firecat53/.local/share/vimwiki/pictures/chase_accident/car_bu
mper_angled.jpg"><img 
src="file:///home/firecat53/.local/share/vimwiki/pictures/chase_accident/car_bum
per_angled.jpg" alt="Car Bumper Angled" width:100px; padding: 20px; display: 
inline; /></a>

What version of the product are you using? On what operating system?
Rev 505 linux.

Please provide any additional information below.
This used to work fine.

Thanks!
Scott

Original issue reported on code.google.com by firecat4...@gmail.com on 23 Mar 2012 at 6:02

GoogleCodeExporter commented 8 years ago
Please see ":help vimwiki" and rce467936bf80

Original comment by stu.andrews on 23 Mar 2012 at 10:18

GoogleCodeExporter commented 8 years ago
Ah, I see the change in the docs now. Thanks!!

Scott

Original comment by firecat4...@gmail.com on 24 Mar 2012 at 12:47