mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
fix: blockquote fix
This commit is contained in:
parent
af1c26a8ce
commit
c8d87f3858
@ -119,7 +119,7 @@ const WxRenderer = function (opts) {
|
||||
}
|
||||
|
||||
renderer.blockquote = text => {
|
||||
text = text.replace(/<p.*?>/, `<p ${getStyles('blockquote_p')}>`)
|
||||
text = text.replace(/<p.*?>/g, `<p ${getStyles('blockquote_p')}>`)
|
||||
return `<blockquote ${getStyles('blockquote')}>${text}</blockquote>`
|
||||
}
|
||||
renderer.code = (text, infoString) => {
|
||||
|
Loading…
Reference in New Issue
Block a user