This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

Merge branch 'master' of github.com:yutent/doui

merge
old
lcoln 2017-09-17 18:47:45 +08:00
commit 7a7be3881e
1 changed files with 1 additions and 0 deletions

View File

@ -865,6 +865,7 @@ Renderer.prototype.html = function(html) {
}; };
Renderer.prototype.heading = function(text, level, raw) { Renderer.prototype.heading = function(text, level, raw) {
raw = text.replace(/<[^>]+>|<\/[^>]+>/g, '')
return '<h' return '<h'
+ level + level
+ ' class="md-hd" id="' + ' class="md-hd" id="'