Commit 6821ad96 authored by Sean McGivern's avatar Sean McGivern

Fix math rendering on blob pages

`renderGFM` adds the correct syntax highlighting class and triggers KaTeX if
required.
parent c5b0c530
......@@ -111,7 +111,7 @@ export default class BlobViewer {
BlobViewer.loadViewer(newViewer)
.then((viewer) => {
$(viewer).syntaxHighlight();
$(viewer).renderGFM();
this.$fileHolder.trigger('highlight:line');
gl.utils.handleLocationHash();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment