From 2754f49fe9d2d24590513278cf4920a0a6222c44 Mon Sep 17 00:00:00 2001 From: chris2tof Date: Sat, 19 Nov 2011 23:11:49 +0800 Subject: [PATCH] Missing code in parser for displaying image in the fornt-end --- lib/parser.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/parser.rb b/lib/parser.rb index a66a1ecff..f895bfac5 100644 --- a/lib/parser.rb +++ b/lib/parser.rb @@ -81,9 +81,11 @@ module Parser res end c.define_tag 'image' do |tag| - asset = Asset.find(tag.attr['id']) - if asset - res = "