Fix to remove part class in list item or it will be included in buildMap process

This commit is contained in:
Cheng-Han, Wu 2016-06-21 21:46:27 +08:00
parent f454994daa
commit f1db5c96f3
1 changed files with 0 additions and 1 deletions

View File

@ -28,7 +28,6 @@ md.renderer.rules.list_item_open = function (tokens, idx, options, env, self) {
if (tokens[idx].map) { if (tokens[idx].map) {
var startline = tokens[idx].map[0] + 1; var startline = tokens[idx].map[0] + 1;
var endline = tokens[idx].map[1]; var endline = tokens[idx].map[1];
tokens[idx].attrJoin('class', 'part');
tokens[idx].attrJoin('data-startline', startline); tokens[idx].attrJoin('data-startline', startline);
tokens[idx].attrJoin('data-endline', endline); tokens[idx].attrJoin('data-endline', endline);
} }