Store wiki references found during rendering

This commit is contained in:
Alexey Verkhovsky 2005-09-11 05:44:34 +00:00
parent bfecd09b56
commit cd68db01d2
5 changed files with 61 additions and 63 deletions

View file

@ -12,7 +12,6 @@ class Include < WikiChunk::WikiReference
INCLUDE_PATTERN = /\[\[!include\s+(.*?)\]\]\s*/i
def self.pattern() INCLUDE_PATTERN end
def initialize(match_data, content)
super
@page_name = match_data[1].strip