diff --git a/R/p_direction.R b/R/p_direction.R
index 4f3d5122a..12e8e05b5 100644
--- a/R/p_direction.R
+++ b/R/p_direction.R
@@ -41,7 +41,7 @@
#'
#' In most cases, it seems that the *pd* has a direct correspondence with the
#' frequentist one-sided *p*-value through the formula (for two-sided *p*):
-#' \deqn{p = 2 \times (1 - p_d)}{p = 2 * (1 - pd)}
+#' \ifelse{html}{\out{p = 2 * (1 - pd)}}{\eqn{p = 2 \times (1 - p_d)}}
#' Thus, a two-sided p-value of respectively `.1`, `.05`, `.01` and `.001` would
#' correspond approximately to a *pd* of `95%`, `97.5%`, `99.5%` and `99.95%`.
#' See [pd_to_p()] for details.
diff --git a/man/p_direction.Rd b/man/p_direction.Rd
index 9255a532d..f9a2530e7 100644
--- a/man/p_direction.Rd
+++ b/man/p_direction.Rd
@@ -190,7 +190,7 @@ with Bayesian statistics (Makowski et al., 2019).
In most cases, it seems that the \emph{pd} has a direct correspondence with the
frequentist one-sided \emph{p}-value through the formula (for two-sided \emph{p}):
-\deqn{p = 2 \times (1 - p_d)}{p = 2 * (1 - pd)}
+\ifelse{html}{\out{p = 2 * (1 - pd)}}{\eqn{p = 2 \times (1 - p_d)}}
Thus, a two-sided p-value of respectively \code{.1}, \code{.05}, \code{.01} and \code{.001} would
correspond approximately to a \emph{pd} of \verb{95\%}, \verb{97.5\%}, \verb{99.5\%} and \verb{99.95\%}.
See \code{\link[=pd_to_p]{pd_to_p()}} for details.