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
1128 1129 1130 |
# File 'lib/html_to_markdown/native.rb', line 1128 def self.from_hash(hash) new end |
Instance Method Details
#continue? ⇒ Boolean
1116 |
# File 'lib/html_to_markdown/native.rb', line 1116 def continue? = false |
#custom? ⇒ Boolean
1118 |
# File 'lib/html_to_markdown/native.rb', line 1118 def custom? = false |
#error? ⇒ Boolean
1124 1125 1126 |
# File 'lib/html_to_markdown/native.rb', line 1124 def error? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#preserve_html? ⇒ Boolean
1122 |
# File 'lib/html_to_markdown/native.rb', line 1122 def preserve_html? = true |
#skip? ⇒ Boolean
1120 |
# File 'lib/html_to_markdown/native.rb', line 1120 def skip? = false |