@amermathsoc/texml-to-html 18.5.0 → 18.6.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [18.6.0](https://github.com/AmerMathSoc/texml-to-html/compare/v18.5.0...v18.6.0) (2025-06-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **graphic.js:** adjust to new alt-text placement ([1468543](https://github.com/AmerMathSoc/texml-to-html/commit/146854336e3ef3cc6a34a6b70cfb522bd6ceceb2)), closes [#477](https://github.com/AmerMathSoc/texml-to-html/issues/477)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **package:** upgrade linkedom@0.18.10 ([06d48ac](https://github.com/AmerMathSoc/texml-to-html/commit/06d48ac562b9627c3b6b2e55647526ca2af58937))
|
|
16
|
+
|
|
5
17
|
## [18.5.0](https://github.com/AmerMathSoc/texml-to-html/compare/v18.4.0...v18.5.0) (2025-05-19)
|
|
6
18
|
|
|
7
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amermathsoc/texml-to-html",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A NodeJS library for converting AMS-style JATS XML to HTML",
|
|
6
6
|
"scripts": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/AmerMathSoc/texml-to-html#readme",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"c8": "
|
|
35
|
-
"commit-and-tag-version": "12.
|
|
36
|
-
"tape": "5.
|
|
34
|
+
"c8": "10.1.3",
|
|
35
|
+
"commit-and-tag-version": "12.5.1",
|
|
36
|
+
"tape": "5.9.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"linkedom": "0.
|
|
39
|
+
"linkedom": "0.18.10"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -24,7 +24,7 @@ const jsonSnapshot = require('./book-meta-snapshot.json');
|
|
|
24
24
|
const jsonSnapshot2 = require('./book--metadata-meta-snapshot.json');
|
|
25
25
|
|
|
26
26
|
tape('Template: book-meta', async function (t) {
|
|
27
|
-
t.plan(
|
|
27
|
+
t.plan(8);
|
|
28
28
|
|
|
29
29
|
const document = book;
|
|
30
30
|
const titlepage = document.querySelector('section[data-ams-doc="titlepage"]');
|
|
@@ -46,4 +46,5 @@ tape('Template: book-meta', async function (t) {
|
|
|
46
46
|
t.ok(abstractWrapper.querySelector(':scope > [role="doc-abstract"]'), 'wrapper for abstract contains abstract');
|
|
47
47
|
t.ok(abstractWrapper.querySelector(':scope > [data-ams-doc="keywords"]'), 'wrapper for abstract contains keywords');
|
|
48
48
|
t.ok(abstractWrapper.querySelector(':scope > [data-ams-doc="MSC 2020"]'), 'wrapper for abstract contains MSCs');
|
|
49
|
+
t.ok(abstractWrapper.querySelector(':scope > [data-ams-doc="funding-group"]'), 'wrapper for abstract contains funding statement');
|
|
49
50
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>AMS Publication</title></head><body><section data-ams-doc="article">
|
|
2
2
|
<p>hello, world</p>
|
|
3
3
|
<p>
|
|
4
|
-
<a href="https://math.mit.edu/~drew/rk6.html#foo?x&5">TEXT</a>
|
|
4
|
+
<a href="https://math.mit.edu/~drew/rk6.html#foo?x&5">TEXT</a>
|
|
5
5
|
</p>
|
|
6
6
|
</section></body></html>
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
|
|
34
34
|
<section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
|
|
35
35
|
<p>
|
|
36
|
-
<a href="https://www.ams.org/%A}#B&C_D~E$F^G{H\I">https://www.ams.org/%A}#B&C_D~E$F^G{H\I</a>
|
|
36
|
+
<a href="https://www.ams.org/%A}#B&C_D~E$F^G{H\I">https://www.ams.org/%A}#B&C_D~E$F^G{H\I</a>
|
|
37
37
|
</p>
|
|
38
|
-
<p>1: <a href="https://www.ams.org/%A}#B&C_D~E$F^G{H\I">link text</a></p>
|
|
39
|
-
<p>2: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H\I">https://www.ams.org/%A#B&C_D~E$F^G{H\I</a></p>
|
|
40
|
-
<p>3: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H\I">First piece Second piece</a></p>
|
|
38
|
+
<p>1: <a href="https://www.ams.org/%A}#B&C_D~E$F^G{H\I">link text</a></p>
|
|
39
|
+
<p>2: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H\I">https://www.ams.org/%A#B&C_D~E$F^G{H\I</a></p>
|
|
40
|
+
<p>3: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H\I">First piece Second piece</a></p>
|
|
41
41
|
</section>
|
|
42
42
|
|
|
43
43
|
</section></body></html>
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
}</script><h1>url (hyperref)</h1></section>
|
|
33
33
|
|
|
34
34
|
<section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
|
|
35
|
-
<p>1: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
36
|
-
<p>2: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
37
|
-
<p>3: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
38
|
-
<p>4: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
35
|
+
<p>1: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
36
|
+
<p>2: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
37
|
+
<p>3: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
38
|
+
<p>4: <a href="https://www.ams.org/%A#B&C_D~E$F^G{H}\I">https://www.ams.org/%A#B&C_D~E$F^G{H}\I</a></p>
|
|
39
39
|
</section>
|
|
40
40
|
|
|
41
41
|
</section></body></html>
|