We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4740cae commit 48ed2d8Copy full SHA for 48ed2d8
Sources/SwiftDocC/Model/Rendering/RenderContentCompiler.swift
@@ -74,7 +74,7 @@ struct RenderContentCompiler: MarkupVisitor {
74
syntax: options.lang ?? bundle.info.defaultCodeListingLanguage,
75
code: codeBlock.code.splitByNewlines,
76
metadata: nil,
77
- copyToClipboard: options.tokens.contains(.nocopy)
+ copyToClipboard: !options.tokens.contains(.nocopy)
78
)
79
80
return [RenderBlockContent.codeListing(listing)]
0 commit comments