SYMBOL INDEX (163 symbols across 15 files) FILE: lib/premailer/adapter.rb class Premailer (line 3) | class Premailer type Adapter (line 8) | module Adapter function use (line 22) | def self.use function default (line 32) | def self.default function use= (line 51) | def self.use=(new_adapter) function find (line 57) | def self.find(adapter) FILE: lib/premailer/adapter/hpricot.rb class Premailer (line 3) | class Premailer type Adapter (line 4) | module Adapter type Hpricot (line 6) | module Hpricot function to_inline_css (line 10) | def to_inline_css function write_unmergable_css_rules (line 144) | def write_unmergable_css_rules(doc, unmergable_rules) # :nodoc: function to_plain_text (line 166) | def to_plain_text function to_s (line 179) | def to_s function load_html (line 186) | def load_html(input) # :nodoc: FILE: lib/premailer/adapter/nokogiri.rb class Premailer (line 3) | class Premailer type Adapter (line 4) | module Adapter type Nokogiri (line 6) | module Nokogiri function to_inline_css (line 11) | def to_inline_css function write_unmergable_css_rules (line 146) | def write_unmergable_css_rules(doc, unmergable_rules) # :nodoc: function to_plain_text (line 170) | def to_plain_text function to_s (line 183) | def to_s function load_html (line 194) | def load_html(input) # :nodoc: FILE: lib/premailer/adapter/nokogumbo.rb class Premailer (line 3) | class Premailer type Adapter (line 4) | module Adapter type Nokogumbo (line 6) | module Nokogumbo function to_inline_css (line 11) | def to_inline_css function write_unmergable_css_rules (line 145) | def write_unmergable_css_rules(doc, unmergable_rules) # :nodoc: function to_plain_text (line 169) | def to_plain_text function to_s (line 182) | def to_s function load_html (line 193) | def load_html(input) # :nodoc: FILE: lib/premailer/html_to_plain_text.rb type HtmlToPlainText (line 5) | module HtmlToPlainText function convert_to_text (line 10) | def convert_to_text(html, line_length = 65, from_charset = 'UTF-8') function word_wrap (line 112) | def word_wrap(txt, line_length) FILE: lib/premailer/premailer.rb class Premailer (line 34) | class Premailer type Warnings (line 131) | module Warnings method initialize (line 177) | def initialize(html, options = {}) method warnings (line 247) | def warnings method load_css_from_local_file! (line 254) | def load_css_from_local_file!(path) method load_css_from_string (line 268) | def load_css_from_string(css_string) method load_css_from_options! (line 273) | def load_css_from_options! # :nodoc: method load_css_from_html! (line 286) | def load_css_from_html! # :nodoc: method local_uri? (line 330) | def local_uri?(uri) # :nodoc: method media_type_ok? (line 338) | def media_type_ok?(media_types) method append_query_string (line 344) | def append_query_string(doc, qs) method is_xhtml? (line 395) | def is_xhtml? method convert_inline_links (line 410) | def convert_inline_links(doc, base_uri) # :nodoc: method is_media_query? (line 456) | def self.is_media_query?(media_types) method escape_string (line 461) | def self.escape_string(str) # :nodoc: method resolve_link (line 466) | def self.resolve_link(path, base_path) # :nodoc: method local_data? (line 487) | def self.local_data?(data) method canonicalize (line 495) | def self.canonicalize(uri) # :nodoc: method check_client_support (line 508) | def check_client_support # :nodoc: FILE: lib/premailer/version.rb class Premailer (line 1) | class Premailer FILE: test/future_tests.rb class TestPremailer (line 4) | class TestPremailer < Premailer::TestCase method test_related_attributes (line 5) | def test_related_attributes method test_merging_cellpadding (line 28) | def test_merging_cellpadding method test_preserving_media_queries (line 45) | def test_preserving_media_queries FILE: test/helper.rb class Premailer::TestCase (line 6) | class Premailer::TestCase < Minitest::Test method setup (line 10) | def setup method default_test (line 23) | def default_test; end method local_setup (line 26) | def local_setup(f = 'base.html', opts = {}) method remote_setup (line 33) | def remote_setup(f = 'base.html', opts = {}) FILE: test/test_adapter.rb class TestAdapter (line 3) | class TestAdapter < Premailer::TestCase method test_default_to_best_available (line 5) | def test_default_to_best_available method test_settable_via_symbol (line 10) | def test_settable_via_symbol method test_adapters_are_findable_by_symbol (line 15) | def test_adapters_are_findable_by_symbol method test_adapters_are_findable_by_class (line 19) | def test_adapters_are_findable_by_class method test_raises_argument_error (line 23) | def test_raises_argument_error FILE: test/test_html_to_plain_text.rb class TestHtmlToPlainText (line 4) | class TestHtmlToPlainText < Premailer::TestCase method test_to_plain_text_with_fragment (line 7) | def test_to_plain_text_with_fragment method test_to_plain_text_with_body (line 12) | def test_to_plain_text_with_body method test_to_plain_text_with_malformed_body (line 26) | def test_to_plain_text_with_malformed_body method test_specialchars (line 38) | def test_specialchars method test_stripping_whitespace (line 42) | def test_stripping_whitespace method test_wrapping_spans (line 50) | def test_wrapping_spans method test_line_breaks (line 63) | def test_line_breaks method test_lists (line 68) | def test_lists method test_stripping_html (line 73) | def test_stripping_html method test_stripping_ignored_blocks (line 77) | def test_stripping_ignored_blocks method test_paragraphs_and_breaks (line 89) | def test_paragraphs_and_breaks method test_headings (line 97) | def test_headings method test_wrapping_lines (line 106) | def test_wrapping_lines method test_wrapping_lines_with_spaces (line 117) | def test_wrapping_lines_with_spaces method test_img_alt_tags (line 121) | def test_img_alt_tags method test_links (line 135) | def test_links method test_multiple_links_per_line (line 176) | def test_multiple_links_per_line method test_links_within_headings (line 183) | def test_links_within_headings method assert_plaintext (line 188) | def assert_plaintext(out, raw, msg = nil, line_length = 65) FILE: test/test_links.rb class TestLinks (line 4) | class TestLinks < Premailer::TestCase method test_empty_query_string (line 5) | def test_empty_query_string method test_appending_link_query_string (line 10) | def test_appending_link_query_string method test_stripping_extra_question_marks_from_query_string (line 62) | def test_stripping_extra_question_marks_from_query_string method test_unescape_ampersand (line 78) | def test_unescape_ampersand method test_preserving_links (line 89) | def test_preserving_links method test_resolving_urls_from_string (line 104) | def test_resolving_urls_from_string method test_resolving_urls_from_uri (line 113) | def test_resolving_urls_from_uri method test_resolving_urls_from_html_string (line 132) | def test_resolving_urls_from_html_string method test_resolving_urls_in_doc (line 142) | def test_resolving_urls_in_doc method test_convertable_inline_links (line 161) | def test_convertable_inline_links method test_non_convertable_inline_links (line 177) | def test_non_convertable_inline_links FILE: test/test_misc.rb class TestMisc (line 7) | class TestMisc < Premailer::TestCase method test_parsing_extra_quotes (line 13) | def test_parsing_extra_quotes method test_styles_in_the_body (line 21) | def test_styles_in_the_body method test_commented_out_styles_in_the_body (line 37) | def test_commented_out_styles_in_the_body method test_not_applying_styles_to_the_head (line 53) | def test_not_applying_styles_to_the_head method test_multiple_identical_ids (line 78) | def test_multiple_identical_ids method test_preserving_styles (line 98) | def test_preserving_styles method test_unmergable_rules (line 129) | def test_unmergable_rules method test_unmergable_media_queries (line 145) | def test_unmergable_media_queries method test_unmergable_rules_with_no_body (line 182) | def test_unmergable_rules_with_no_body method test_ignoring_link_pseudo_selectors (line 196) | def test_ignoring_link_pseudo_selectors method test_parsing_bad_markup_around_tables (line 214) | def test_parsing_bad_markup_around_tables method test_inline_important (line 240) | def test_inline_important method test_handling_shorthand_auto_properties (line 258) | def test_handling_shorthand_auto_properties method test_sorting_style_attributes (line 279) | def test_sorting_style_attributes method test_removing_scripts (line 296) | def test_removing_scripts method test_strip_important_from_attributes (line 321) | def test_strip_important_from_attributes method test_scripts_with_nokogiri (line 339) | def test_scripts_with_nokogiri method test_style_without_data_in_content (line 370) | def test_style_without_data_in_content method test_style_with_data_in_content (line 387) | def test_style_with_data_in_content FILE: test/test_premailer.rb class TestPremailer (line 5) | class TestPremailer < Premailer::TestCase method test_special_characters_nokogiri (line 6) | def test_special_characters_nokogiri method test_special_characters_nokogiri_remote (line 13) | def test_special_characters_nokogiri_remote method test_special_characters_hpricot (line 29) | def test_special_characters_hpricot method test_detecting_html (line 36) | def test_detecting_html method test_detecting_xhtml (line 43) | def test_detecting_xhtml method test_self_closing_xhtml_tags (line 50) | def test_self_closing_xhtml_tags method test_non_self_closing_html_tags (line 58) | def test_non_self_closing_html_tags method test_mailtos_with_query_strings (line 66) | def test_mailtos_with_query_strings method test_escaping_strings (line 82) | def test_escaping_strings method test_preserving_ignored_style_elements (line 89) | def test_preserving_ignored_style_elements method test_preserving_ignored_link_elements (line 97) | def test_preserving_ignored_link_elements method test_importing_local_css (line 105) | def test_importing_local_css method test_css_to_attributes (line 118) | def test_css_to_attributes method test_avoid_changing_css_to_attributes (line 128) | def test_avoid_changing_css_to_attributes method test_importing_remote_css (line 137) | def test_importing_remote_css method test_importing_css_as_string (line 149) | def test_importing_css_as_string method test_local_remote_check (line 164) | def test_local_remote_check method test_initialize_can_accept_io_object (line 176) | def test_initialize_can_accept_io_object method test_initialize_can_accept_html_string (line 184) | def test_initialize_can_accept_html_string method test_initialize_no_escape_attributes_option (line 191) | def test_initialize_no_escape_attributes_option method test_remove_ids (line 208) | def test_remove_ids method test_reset_contenteditable (line 228) | def test_reset_contenteditable method test_carriage_returns_as_entities (line 245) | def test_carriage_returns_as_entities method test_advanced_selectors (line 260) | def test_advanced_selectors method test_premailer_related_attributes (line 271) | def test_premailer_related_attributes method test_include_link_tags_option (line 288) | def test_include_link_tags_option method test_include_style_tags_option (line 298) | def test_include_style_tags_option method test_input_encoding (line 308) | def test_input_encoding method test_output_encoding (line 316) | def test_output_encoding method test_meta_encoding_downcase (line 324) | def test_meta_encoding_downcase method test_meta_encoding_upcase (line 331) | def test_meta_encoding_upcase method test_htmlentities (line 338) | def test_htmlentities method test_line_starting_with_uri_in_html_with_linked_css (line 348) | def test_line_starting_with_uri_in_html_with_linked_css method test_empty_html_nokogiri (line 356) | def test_empty_html_nokogiri method silence_stderr (line 364) | def silence_stderr(&block) FILE: test/test_warnings.rb class TestWarnings (line 4) | class TestWarnings < Premailer::TestCase method test_element_warnings (line 5) | def test_element_warnings method test_css_warnings (line 24) | def test_css_warnings method test_css_aliased_warnings (line 40) | def test_css_aliased_warnings method test_attribute_warnings (line 55) | def test_attribute_warnings method test_warn_level (line 70) | def test_warn_level method get_warnings (line 90) | def get_warnings(html, adapter = :nokogiri, warn_level = Premailer::Wa...