Class: HtmlToMarkdown::VisitResultPreserveHtml
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::VisitResultPreserveHtml
- Extended by:
- T::Sig
- Includes:
- VisitResult
- Defined in:
- lib/html_to_markdown/native.rb
Overview
Preserve original HTML (don't convert to markdown)
The element's raw HTML is included verbatim in the output.
Class Method Summary collapse
Instance Method Summary collapse
- #continue? ⇒ Boolean
- #custom? ⇒ Boolean
- #error? ⇒ Boolean
- #preserve_html? ⇒ Boolean
- #skip? ⇒ Boolean
Class Method Details
.from_hash(hash) ⇒ Object
1086 1087 1088 |
# File 'lib/html_to_markdown/native.rb', line 1086 def self.from_hash(hash) new end |
Instance Method Details
#continue? ⇒ Boolean
1074 |
# File 'lib/html_to_markdown/native.rb', line 1074 def continue? = false |
#custom? ⇒ Boolean
1076 |
# File 'lib/html_to_markdown/native.rb', line 1076 def custom? = false |
#error? ⇒ Boolean
1082 1083 1084 |
# File 'lib/html_to_markdown/native.rb', line 1082 def error? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#preserve_html? ⇒ Boolean
1080 |
# File 'lib/html_to_markdown/native.rb', line 1080 def preserve_html? = true |
#skip? ⇒ Boolean
1078 |
# File 'lib/html_to_markdown/native.rb', line 1078 def skip? = false |