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.
2 parents 21345ed + adb0dd5 commit a2565bdCopy full SHA for a2565bd
public/js/lib/markdown/utils.js
@@ -9,7 +9,7 @@ export function parseFenceCodeParams (lang) {
9
if (param[0] === '#') {
10
params.id = param.slice(1)
11
} else if (param[0] === '.') {
12
- if (params.class) params.class = []
+ if (!params.class) params.class = []
13
params.class = params.class.concat(param.slice(1))
14
} else {
15
const offset = param.indexOf('=')
0 commit comments