Commit f59c30be authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed broken links in markdown.

parent 1e5820ed
Pipeline #81112 passed with stages
in 29 minutes and 51 seconds
......@@ -216,6 +216,7 @@ var styles = theme => {
}
function MarkdownLink({href, ...props}) {
console.log('###', href)
if (href.match(/^https?:\/\//)) {
return <Link href={href} {...props} />
} else {
......@@ -245,7 +246,7 @@ function Markdown(props) {
} else {
state.push('math')
}
} else if (c === '`') {
} else if (c === '`' || c === '(' || c === ')') {
if (state[state.length - 1] === 'code') {
state.pop()
} else {
......
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