diff --git a/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogsRules.js b/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogsRules.js
index 1680bc6052..c2e0df507d 100644
--- a/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogsRules.js
+++ b/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogsRules.js
@@ -1,18 +1,20 @@
/* eslint-disable no-useless-escape */
import PropTypes from 'prop-types'
-function WikiLink({ url, children }) {
- return window.wikiEnabled ? (
-
- {children}
-
- ) : (
- <>{children}>
- )
+function WikiLink({ url, children, skipPlainRendering }) {
+ if (window.wikiEnabled) {
+ return (
+
+ {children}
+
+ )
+ } else {
+ return <>{children}>
+ }
}
WikiLink.propTypes = {
- url: PropTypes.string,
+ url: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
}
@@ -70,23 +72,25 @@ const rules = [
extraInfoURL: 'https://www.overleaf.com/learn/Errors/Missing_$_inserted',
humanReadableHintComponent: (
<>
- Check that your $'s match around math expressions. If they do, then
- you've probably used a symbol in normal text that needs to be in math
- mode. Symbols such as subscripts ( _ ), integrals ( \int ), Greek
- letters ( \alpha, \beta, \delta ), and modifiers (\vec
- {'{x}'}, \tilde
- {'{x}'} ) must be written in math mode. See the full list{' '}
-
+ You need to enclose all mathematical expressions and symbols with + special markers. These special markers create a ‘math mode’. +
+
+ Use $...$
for inline math mode, and \[...\]
+ or one of the mathematical environments (e.g. equation) for display
+ math mode.
+
+ This applies to symbols such as subscripts ( _
),
+ integrals ( \int
), Greek letters ( \alpha
,{' '}
+ \beta
, \delta
) and modifiers{' '}
+ {'(\\vec{x}'}
, {'\\tilde{x}'})
.
+