Flowdock
Ruby latest stable (v1_9_3_392) - 0 notes - Superclass: Object

Manages changes of attributes in a block of text

Constants

PROTECT_ATTR = A_PROTECT.chr # :nodoc:

A_PROTECT = 004

NULL = "\000".freeze

Attributes

[R] special

And this maps special sequences to a name. A special sequence is something like a WikiWord

[R] protectable

A \ in front of a character that would normally be processed turns off processing. We do this by turning < into <#{PROTECT}

[R] html_tags

This maps HTML tags to the corresponding attribute char

[R] word_pair_map

And this is used when the delimiters aren’t the same. In this case the hash maps a pattern to the attribute character

[R] matching_word_pairs

This maps delimiters that occur around words (such as bold or tt) where the start and end delimiters and the same. This lets us optimize the regexp

Show files where this class is defined (1 file)
Register or log in to add new notes.