diff options
author | gebele <gebele@in-silico.ch> | 2013-06-05 16:01:47 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-06-05 16:01:47 +0200 |
commit | 617ff7b6b8e59678655da80a7171f8656baf0022 (patch) | |
tree | 9bd210fc48a33ee775b1af7f1ee1e0eb464c9866 /lib | |
parent | ef122484598a8979de915344cdeff475cff752c5 (diff) |
border colour
Diffstat (limited to 'lib')
-rw-r--r-- | lib/overwrite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index 52b8a9f..1579469 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -54,7 +54,7 @@ class String html << "<h3>Description</h3><pre><p>"+description.link_urls+"</p></pre>" if description html << "<h3>Related links</h3><pre><p>"+related_links.link_urls+"</p></pre>" if related_links html << "<h3>Content</h3>" if description || related_links - html << "<pre><p style=\"padding:15px; border:10px solid \#B9DCFF\">" + html << "<pre><p style=\"padding:15px; border:10px solid \#DBC87B\">" html << "<img src=\"data:image/png;base64,#{Base64.encode64(png_image)}\">\n" if png_image html << self.link_urls html << "</p></pre></body></html>" |