Changesets can be listed by changeset number.
The Git repository is here.
Changeset 368
Log for Changeset #367 is inaccurate. This change patches around invalid
XHTML markup written directly into pages, which would cause exceptions if
used as part of a diff. The post-Textile-processing data is run through
Hpricot to clean it up and a warning is included in the diff. If further
exceptions occur, the user is told that the diff can't be shown, rather
than just given a 500 error.
This new version of the file just tidies up the location of the 'require'
for Hpricot.
- Comitted by: rool
- Date: Saturday March 19 22:10:54 2011 (over 13 years ago)
Affected files:
rool/rails/instiki/trunk/lib/page_renderer.rb:
prev. | current | |
1 | require 'hpricot' | |
require 'xhtmldiff' | ||
# Temporary class containing all rendering stuff from a Revision | ||
... | ... | |
@display_published ||= render(:mode => :publish) | ||
end | ||
40 | ||
41 | ||
def display_diff | ||
previous_revision = @revision.page.previous_revision(@revision) | ||
if previous_revision |