html-to-markdown 3.12.3 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37daad41e40c2d74b4fd1688950bca68832dd488c99df5fc6c4f8b84ba129d6c
|
|
4
|
+
data.tar.gz: 540132ba4e3e66f71c4d73ca5630af9d0b636c9d87d89904edc67d33e1cfcce7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c085ea3f43ecee48d3ab242dd6ea25d26b5ada1f84ce47a6214812ab632ce8f525a4e023d1d8cef8693e85c25d60334c8b01d10dfcf077c35807ce90cd54728
|
|
7
|
+
data.tar.gz: 017f5a12eb3da273d67d6dc79ed743903e61f0c7cb8c79d3d97bdcbb482a60306f6f9161e2ae6dc2d221511720e4eb3f988c84ad9ad380671bd56e7716ba7fd7
|
|
@@ -82,9 +82,9 @@ dependencies = [
|
|
|
82
82
|
|
|
83
83
|
[[package]]
|
|
84
84
|
name = "bitflags"
|
|
85
|
-
version = "2.13.
|
|
85
|
+
version = "2.13.2"
|
|
86
86
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
-
checksum = "
|
|
87
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
88
88
|
|
|
89
89
|
[[package]]
|
|
90
90
|
name = "bytemuck"
|
|
@@ -232,7 +232,7 @@ checksum = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5"
|
|
|
232
232
|
|
|
233
233
|
[[package]]
|
|
234
234
|
name = "html-to-markdown-rb"
|
|
235
|
-
version = "3.
|
|
235
|
+
version = "3.13.0"
|
|
236
236
|
dependencies = [
|
|
237
237
|
"async-trait",
|
|
238
238
|
"html-to-markdown-rs",
|
|
@@ -246,9 +246,9 @@ dependencies = [
|
|
|
246
246
|
|
|
247
247
|
[[package]]
|
|
248
248
|
name = "html-to-markdown-rs"
|
|
249
|
-
version = "3.
|
|
249
|
+
version = "3.13.0"
|
|
250
250
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
-
checksum = "
|
|
251
|
+
checksum = "6d7a15d966d18c9e245708eb4aa10d2c395dd7a1eae5776d83b0f31a82fb2ecc"
|
|
252
252
|
dependencies = [
|
|
253
253
|
"ahash",
|
|
254
254
|
"astral-tl",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:4a8d90e5a86d18b90266cd55bd6f5fe63ea0084e08883e0dfe01f846ee79a9bc
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
6
6
|
[package]
|
|
7
7
|
name = "html-to-markdown-rb"
|
|
8
|
-
version = "3.
|
|
8
|
+
version = "3.13.0"
|
|
9
9
|
edition = "2024"
|
|
10
10
|
license = "MIT"
|
|
11
11
|
description = "High-performance HTML to Markdown converter"
|
|
@@ -30,7 +30,7 @@ visitor = ["html-to-markdown-rs/visitor"]
|
|
|
30
30
|
|
|
31
31
|
[dependencies]
|
|
32
32
|
async-trait = "0.1"
|
|
33
|
-
html-to-markdown-rs = { version = "3.
|
|
33
|
+
html-to-markdown-rs = { version = "3.13.0", features = ["serde", "metadata", "visitor", "inline-images", "testkit"] }
|
|
34
34
|
magnus = "0.8"
|
|
35
35
|
rb-sys = ">=0.9.130, <0.10"
|
|
36
36
|
serde = { version = "1", features = ["derive"] }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by alef. DO NOT EDIT.
|
|
2
|
-
// alef:hash:
|
|
2
|
+
// alef:hash:b89f28165748578716b78d7870c438b5394d9c847ec7718f9620057ca8fb0688
|
|
3
3
|
// Re-generate with: alef generate
|
|
4
4
|
#![allow(dead_code, unused_imports, unused_variables)]
|
|
5
5
|
#![allow(
|
|
@@ -4573,7 +4573,7 @@ impl magnus::TryConvert for StructuredDataType {
|
|
|
4573
4573
|
match s.as_str() {
|
|
4574
4574
|
"json_ld" | "JsonLd" => Ok(StructuredDataType::JsonLd),
|
|
4575
4575
|
"microdata" | "Microdata" => Ok(StructuredDataType::Microdata),
|
|
4576
|
-
"rdfa" | "
|
|
4576
|
+
"rdfa" | "RDFa" => Ok(StructuredDataType::RDFa),
|
|
4577
4577
|
other => Err(magnus::Error::new(
|
|
4578
4578
|
unsafe { Ruby::get_unchecked() }.exception_arg_error(),
|
|
4579
4579
|
format!("invalid StructuredDataType value: {other}"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:7f448ade00fa6e1dcd5c3b2dfa253c426c9ec3d6127d00401c8062c30a133b7d
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
@@ -1100,7 +1100,7 @@ module HtmlToMarkdown
|
|
|
1100
1100
|
# @return [self]
|
|
1101
1101
|
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
|
|
1102
1102
|
def self.from_hash(hash)
|
|
1103
|
-
new(value: hash[:
|
|
1103
|
+
new(value: hash[:output] || hash["output"])
|
|
1104
1104
|
end
|
|
1105
1105
|
end
|
|
1106
1106
|
## Skip this element entirely (don't output anything)
|
|
@@ -1176,7 +1176,7 @@ module HtmlToMarkdown
|
|
|
1176
1176
|
# @return [self]
|
|
1177
1177
|
sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
|
|
1178
1178
|
def self.from_hash(hash)
|
|
1179
|
-
new(value: hash[:
|
|
1179
|
+
new(value: hash[:output] || hash["output"])
|
|
1180
1180
|
end
|
|
1181
1181
|
end
|
|
1182
1182
|
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:b560672fa05941d6899420cc8e9dedd1cae4943a4e01cd91fcffdb3c196a36f0
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module HtmlToMarkdown
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "3.
|
|
9
|
+
VERSION = "3.13.0"
|
|
10
10
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html-to-markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Na'aman Hirschfeld <naaman@xberg.io>
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|