Literal::Tags (Class)

In: app/models/chunks/literal.rb
Parent: Chunk::Abstract

A literal chunk that protects HTML tags from wiki rendering.

Methods

pattern  

Constants

TAGS = "a|img|em|strong|div|span|table|td|th|ul|ol|li|dl|dt|dd"

Public Class methods

[Source]

    # File app/models/chunks/literal.rb, line 17
17:     def self.pattern() Regexp.new('<(?:'+TAGS+')[^>]*?>', Regexp::MULTILINE) end

[Validate]