Store wiki references found during rendering
This commit is contained in:
parent
bfecd09b56
commit
cd68db01d2
5 changed files with 61 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue