Skip to content

Commit db77298

Browse files
committed
Fix backend determination for since/until preprocessor
1 parent 116adfa commit db77298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc-extension.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Preprocessor for since/until roles in pdf backend (in html5 backed this is handled using CSS)
22
preprocessor {
33
document, reader ->
4-
if (!document.basebackend('pdf')) {
4+
if (document.getAttribute('backend') != 'pdf') {
55
println 'skipping since/until preprocessor for non-PDF'
66
return
77
}

0 commit comments

Comments
 (0)