We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04719a9 commit 366a501Copy full SHA for 366a501
OnGeneratedResponse/swap-citations.yml
@@ -47,8 +47,11 @@ beginDialog:
47
),
48
Substitute((Topic.externalWebsiteURL & currentRecord.Name), " ", "%20") &
49
If(
50
- // check if cited source is a PDF
51
- EndsWith(currentRecord.Name,".pdf"),
+ // check if cited source is a PDF and we have page data available
+ And(
52
+ EndsWith(currentRecord.Name, ".pdf"),
53
+ StartsWith(currentRecord.Text, "<page value=")
54
+ ),
55
// add page for PDFs
56
"#page=" & Mid(
57
currentRecord.Text,
0 commit comments