Drop URI Chunk-handling
The URIChunk and LocalURICunk handlers were 1) Slow 2) Buggy (prone to produce ill-formed pages in edge cases) 3) Of dubious utility So I ditched them. No auto-linked URLs, but who cares?
This commit is contained in:
parent
f0090cf4ab
commit
3a3cfeaa9b
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ require 'chunks/category'
|
|||
require_dependency 'chunks/include'
|
||||
require_dependency 'chunks/wiki'
|
||||
require_dependency 'chunks/literal'
|
||||
require_dependency 'chunks/uri'
|
||||
#require_dependency 'chunks/uri'
|
||||
require 'chunks/nowiki'
|
||||
|
||||
# Wiki content is just a string that can process itself with a chain of
|
||||
|
@ -37,7 +37,7 @@ require 'chunks/nowiki'
|
|||
module ChunkManager
|
||||
attr_reader :chunks_by_type, :chunks_by_id, :chunks, :chunk_id
|
||||
|
||||
ACTIVE_CHUNKS = [ NoWiki, Category, WikiChunk::Link, URIChunk, LocalURIChunk,
|
||||
ACTIVE_CHUNKS = [ NoWiki, Category, WikiChunk::Link,
|
||||
WikiChunk::Word ]
|
||||
|
||||
HIDE_CHUNKS = [ Literal::Pre, Literal::Tags ]
|
||||
|
|
Loading…
Reference in a new issue