Skip to content

Commit

Permalink
Hotfix - fixed highlight replace regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonium committed Dec 13, 2020
1 parent 6b6baa5 commit edb8f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as c from './constants'
import showdownHighlight from 'showdown-highlight'

const ANKI_MATH_REGEXP:RegExp = /(\\\[[\s\S]*?\\\])|(\\\([\s\S]*?\\\))/g
const HIGHLIGHT_REGEXP:RegExp = /==(.*)==/g
const HIGHLIGHT_REGEXP:RegExp = /==(.*?)==/g

const MATH_REPLACE:string = "OBSTOANKIMATH"
const INLINE_CODE_REPLACE:string = "OBSTOANKICODEINLINE"
Expand Down

0 comments on commit edb8f29

Please sign in to comment.