aboutsummaryrefslogtreecommitdiff
path: root/test/command/512.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-10-12 10:17:06 -0600
committerJohn MacFarlane <[email protected]>2024-10-13 15:51:05 -0600
commitc8fda8f4d38a05fd494e7ee74d9c75930bdbcf12 (patch)
tree823a25f9c39eac66397dbeef950a6f6d7fde01b6 /test/command/512.md
parent32c1a31f61b012aaae784138fb2a049ccdd496ad (diff)
RST reader: Use a new one-pass parsing strategy.
Instead of having an initial pass where we collect reference definitions, we create links with target `##SUBST##something` or `##REF##something` or `##NOTE##something`, and resolve these in a pass over the parsed AST. This allows us to handle link references that are not at the top level. Closes #10281.
Diffstat (limited to 'test/command/512.md')
-rw-r--r--test/command/512.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/512.md b/test/command/512.md
index 20053d9cd..48f1f101a 100644
--- a/test/command/512.md
+++ b/test/command/512.md
@@ -37,7 +37,7 @@ Loop detection:
__ link1_
^D
-2> [WARNING] Circular reference 'link1' at line 1 column 15
+2> [WARNING] Circular reference 'link1' at line 8 column 1
<p><a href="">click here</a></p>
```