RST reader: treat undefined substitution references as plain text.

This mirrors rst2html behavior. Closes #11727.
This commit is contained in:
John MacFarlane
2026-06-23 12:05:52 +02:00
parent 090cb52f0a
commit 197ea8e8bd
2 changed files with 11 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
```
% pandoc -f rst -t markdown
[file|URL|PLAYLIST]
^D
2> [WARNING] Reference not found for '"url"' at line 4 column 1
\[file\|URL\|PLAYLIST\]
```