Class: Formatter (Redmine::WikiFormatting::Textile)

Overview
Module Structure
Class Hierarchy
Constants
Formatter::RULES
Instance Aliases
Formatter#inline_auto_link
Formatter#inline_auto_mailto
Formatter#smooth_offtags_without_code_highlighting
Instance Methods
Formatter#initialize / 1
Formatter#to_html / 1
Formatter#get_section / 1
Formatter#update_section / 3
Formatter#extract_sections / 1
Formatter#hard_break / 1
Formatter#smooth_offtags / 1
is a submodule of
module: Textile ( Redmine::WikiFormatting )
includes
  TagHelper ( ActionView::Helpers )
  LinksHelper ( Redmine::WikiFormatting )
inherits from
  RedCloth3   
has properties
alias: inline_auto_link auto_link!   
alias: inline_auto_mailto auto_mailto!   
constant: RULES   
method: initialize / 1   
method: to_html / 1   
method: get_section / 1   
method: update_section / 3   
method: extract_sections / 1   
method: hard_break / 1   
alias: smooth_offtags_without_code_highlighting smooth_offtags   
method: smooth_offtags / 1   
is defined at
#24 in lib/redmine/wiki_formatting/textile/formatter.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: ActionView
  module: Helpers
module: TagHelper     
  module: Redmine
  module: WikiFormatting
  module: LinksHelper
  module: Textile
class: Formatter     
  class: RedCloth3

Class Hierarchy

Object ( Builtin-Module )
String ( Builtin-Module )
RedCloth3
has properties
constant: VERSION   
constant: DEFAULT_RULES   
attribute: filter_html [RW]   
attribute: filter_styles [RW]   
attribute: hard_breaks [RW]   
attribute: lite_mode [RW]   
attribute: no_span_caps [RW]   
attribute: rules [RW]   
method: initialize / 2   
method: to_html / 1   
constant: TEXTILE_TAGS   
constant: A_HLGN   
constant: A_VLGN   
constant: C_CLAS   
constant: C_LNGE   
constant: C_STYL   
constant: S_CSPN   
constant: S_RSPN   
constant: A   
constant: S   
constant: C   
constant: PUNCT   
constant: PUNCT_NOQ   
constant: PUNCT_Q   
constant: HYPERLINK   
constant: SIMPLE_HTML_TAGS   
constant: QTAGS   
constant: QTAGS_JOIN   
constant: GLYPHS   
constant: H_ALGN_VALS   
constant: V_ALGN_VALS   
method: htmlesc / 2   
method: pgl / 1   
method: pba / 2   
constant: STYLES_RE   
method: sanitize_styles / 1   
constant: TABLE_RE   
method: block_textile_table / 1   
constant: LISTS_RE   
constant: LISTS_CONTENT_RE   
method: block_textile_lists / 1   
constant: QUOTES_RE   
constant: QUOTES_CONTENT_RE   
method: block_textile_quotes / 1   
constant: CODE_RE   
method: inline_textile_code / 1   
method: lT / 1   
method: hard_break / 1   
constant: BLOCKS_GROUP_RE   
method: blocks / 2   
method: textile_bq / 4   
method: textile_p / 4   
alias: textile_h1 textile_p   
alias: textile_h2 textile_p   
alias: textile_h3 textile_p   
alias: textile_h4 textile_p   
alias: textile_h5 textile_p   
alias: textile_h6 textile_p   
method: textile_fn_ / 5   
constant: BLOCK_RE   
method: block_textile_prefix / 1   
constant: SETEXT_RE   
method: block_markdown_setext / 1   
constant: ATX_RE   
method: block_markdown_atx / 1   
constant: MARKDOWN_BQ_RE   
method: block_markdown_bq / 1   
constant: MARKDOWN_RULE_RE   
method: block_markdown_rule / 1   
method: block_markdown_lists / 1   
method: inline_textile_span / 1   
constant: LINK_RE   
method: inline_textile_link / 1   
constant: MARKDOWN_REFLINK_RE   
method: inline_markdown_reflink / 1   
constant: MARKDOWN_LINK_RE   
method: inline_markdown_link / 1   
constant: TEXTILE_REFS_RE   
constant: MARKDOWN_REFS_RE   
method: refs / 1   
method: refs_textile / 1   
method: refs_markdown / 1   
method: check_refs / 1   
constant: IMAGE_RE   
method: inline_textile_image / 1   
method: shelve / 1   
method: retrieve / 1   
method: incoming_entities / 1   
method: no_textile / 1   
method: clean_white_space / 1   
method: flush_left / 1   
method: footnote_ref / 1   
constant: OFFTAGS   
constant: OFFTAG_MATCH   
constant: OFFTAG_OPEN   
constant: OFFTAG_CLOSE   
constant: HASTAG_MATCH   
constant: ALLTAG_MATCH   
method: glyphs_textile / 2   
method: rip_offtags / 3   
method: smooth_offtags / 1   
method: inline / 1   
method: h_align / 1   
method: v_align / 1   
method: textile_popup_help / 3   
constant: BASIC_TAGS   
method: clean_html / 2   
constant: ALLOWED_TAGS   
method: escape_html_tags / 1   
Formatter ( Redmine::WikiFormatting::Textile )
includes
  TagHelper ( ActionView::Helpers )
  LinksHelper ( Redmine::WikiFormatting )
has properties
alias: inline_auto_link auto_link!   
alias: inline_auto_mailto auto_mailto!   
constant: RULES   
method: initialize / 1   
method: to_html / 1   
method: get_section / 1   
method: update_section / 3   
method: extract_sections / 1   
method: hard_break / 1   
alias: smooth_offtags_without_code_highlighting smooth_offtags   
method: smooth_offtags / 1   

Constants

Formatter::RULES

#32 in lib/redmine/wiki_formatting/textile/formatter.rb

RULES = [:textile, :block_markdown_rule, :inline_auto_link, :inline_auto_mailto]   

Instance Aliases

Formatter#inline_auto_link

#28 in lib/redmine/wiki_formatting/textile/formatter.rb

inline_auto_link auto_link!   

Formatter#inline_auto_mailto

#29 in lib/redmine/wiki_formatting/textile/formatter.rb

inline_auto_mailto auto_mailto!   

Formatter#smooth_offtags_without_code_highlighting

#116 in lib/redmine/wiki_formatting/textile/formatter.rb

smooth_offtags_without_code_highlighting smooth_offtags   

Instance Methods

Formatter#initialize / 1

#34 in lib/redmine/wiki_formatting/textile/formatter.rb

initialize ( *args )

Formatter#to_html / 1

#41 in lib/redmine/wiki_formatting/textile/formatter.rb

to_html ( *rules )

Formatter#get_section / 1

#46 in lib/redmine/wiki_formatting/textile/formatter.rb

get_section ( index )

Formatter#update_section / 3

#52 in lib/redmine/wiki_formatting/textile/formatter.rb

update_section ( index ,
  update ,
  hash=nil )

Formatter#extract_sections / 1

#61 in lib/redmine/wiki_formatting/textile/formatter.rb

extract_sections ( index )

Formatter#hard_break / 1

#112 in lib/redmine/wiki_formatting/textile/formatter.rb

hard_break ( text )

Formatter#smooth_offtags / 1

#118 in lib/redmine/wiki_formatting/textile/formatter.rb

smooth_offtags ( text )