We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ca487 commit fdec037Copy full SHA for fdec037
src/languages/asciidoc.js
@@ -172,7 +172,7 @@ export default function(hljs) {
172
},
173
// images and links
174
{
175
- begin: '(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]',
+ begin: '(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]',
176
returnBegin: true,
177
contains: [
178
0 commit comments