aboutsummaryrefslogtreecommitdiff
path: root/plugins/mathjax/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mathjax/src')
-rw-r--r--plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
index cded0929..1d62fd17 100644
--- a/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
+++ b/plugins/mathjax/src/main/kotlin/MathjaxPlugin.kt
@@ -25,8 +25,8 @@ object MathjaxTransformer : PageTransformer {
}
private val ContentPage.isNeedingMathjax
- get() = documentable?.platformInfo
- ?.flatMap { it.documentationNode.children }
+ get() = documentable?.documentation?.values
+ ?.flatMap { it.children }
.orEmpty()
.any { (it as? CustomWrapperTag)?.name == ANNOTATION }
} \ No newline at end of file