Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
5f3a5970
Commit
5f3a5970
authored
Aug 30, 2019
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add argument to catch
parent
88c6423e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/assets/javascripts/behaviors/markdown/render_math.js
app/assets/javascripts/behaviors/markdown/render_math.js
+1
-1
No files found.
app/assets/javascripts/behaviors/markdown/render_math.js
View file @
5f3a5970
...
...
@@ -102,7 +102,7 @@ class SafeMathRenderer {
maxSize
:
20
,
maxExpand
:
20
,
});
}
catch
{
}
catch
(
e
)
{
// Don't show a flash for now because it would override an existing flash message
el
.
textContent
=
s__
(
'
math|There was an error rendering this math block
'
);
// el.style.color = '#d00';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment