- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (38)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
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 | |
[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 |
[R] | attributes |
The attributes enabled for this markup object. |