[BREAKS BUILD] Links to pictures. Problem is, URIChunk thinks that index.jpg is a hyperlink to http://index.jp.

Also, commented out the code that was hiding rendering errors. This should be done at a different level.
This commit is contained in:
Alexey Verkhovsky 2005-01-23 03:27:45 +00:00
parent 1d82582c3b
commit d6fe54f4ad
9 changed files with 114 additions and 55 deletions

View file

@ -66,11 +66,12 @@ class WikiContent < String
@options[:pre_engine_actions].delete(WikiChunk::Word) if @web.brackets_only
super(@revision.content)
begin
render!(@options[:pre_engine_actions] + [@options[:engine]] + @options[:post_engine_actions])
rescue => e
@rendered = e.message
# FIXME this is where all the parsing problems were shoved under the carpet
# rescue => e
# @rendered = e.message
end
end