Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 926 Bytes
1 | require 'chunks/chunk' |
2 | require 'sanitizer' |
3 | |
4 | # This chunks allows certain parts of a wiki page to be hidden from the |
5 | # rest of the rendering pipeline. It should be run at the beginning |
6 | # of the pipeline in `wiki_content.rb`. |
7 | # |
8 | # An example use of this chunk is to markup double brackets or |
9 | # auto URI links: |
10 | # <nowiki>Here are [[double brackets]] and a URI: www.uri.org</nowiki> |
11 | # |
12 | # The contents of the chunks will not be processed by any other chunk |
13 | # so the `www.uri.org` and the double brackets will appear verbatim. |
14 | # |
15 | # Author: Mark Reid <mark at threewordslong dot com> |
16 | # Created: 8th June 2004 |
17 | |
18 | class NoWiki < Chunk::Abstract |
19 | |
20 | include Sanitizer |
21 | |
22 | NOWIKI_PATTERN = Regexp.new('<nowiki>(.*?)</nowiki>', Regexp::MULTILINE) |
23 | def self.pattern() NOWIKI_PATTERN end |
24 | |
25 | attr_reader :plain_text |
26 | |
27 | def initialize(match_data, content) |
28 | super |
29 | @plain_text = @unmask_text = safe_xhtml_sanitize(match_data[1]) |
30 | end |
31 | |
32 | end |