Keep hyperref command labels
\hyperref[label]{text}, \hyperlink{name}{text} and \hypertarget{name}{text}
were unsupported and leaked as text. A text-stage pass now drops the link
machinery and keeps the visible label, accepting the optional [label] argument
of \hyperref and the braced target of the other two; internal PDF destinations
are not modelled.
A preview test uses all three forms and checks "the intro", "linked" and
"anchor" with no warnings and no leaked command names.
This commit is contained in:
1 parent
6c6963cac7
commit
5fbcc34ddd
4 files changed
+86
-6
No files matched your search
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
|
||||
cargo test --workspace --offline
|
||||
```
|
||||
|
||||
The workspace currently passes **1020 tests**:
|
||||
The workspace currently passes **1021 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 437 |
|
||||
| engine binary unit | 391 |
|
||||
| engine binary unit | 392 |
|
||||
| server integration | 63 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
|
||||
Reference in new issue
Block a user