Remove styling from generated <img>.
authorMike Taylor <mike@indexdata.com>
Fri, 25 Apr 2014 16:59:55 +0000 (17:59 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 25 Apr 2014 16:59:55 +0000 (17:59 +0100)
It belongs in the CSS file.

examples/htdocs/mkws-widget-reference.js

index 78eaa5e..a62506d 100644 (file)
@@ -12,7 +12,7 @@ mkws.registerWidgetType('Reference', function() {
   <i>{{md-title-responsibility}}</i>\
 {{/if}}\
   <p>\
   <i>{{md-title-responsibility}}</i>\
 {{/if}}\
   <p>\
-    <img style="float:right; margin: 0 0 1em 3em" src="{{md-thumburl}}" alt="{{md-title}}">\
+    <img src="{{md-thumburl}}" alt="{{md-title}}">\
     {{md-description}}\
   </p>\
 ');
     {{md-description}}\
   </p>\
 ');