1
0
Fork 0
mirror of https://github.com/marty-oehme/scripts.git synced 2024-11-18 07:48:07 +00:00

modified markdown-it to use no cellspacing for tables

This commit is contained in:
Patrizio Bekerle 2018-11-12 17:02:17 +01:00
parent 75f9da8ff6
commit bf476454ec
No known key found for this signature in database
GPG key ID: 2E9FFD770DABE838

View file

@ -4053,7 +4053,7 @@ module.exports = function table(state, startLine, endLine, silent) {
if (silent) { return true; }
token = state.push('table_open', 'table', 1);
token = state.push('table_open', 'table cellspacing="0"', 1);
token.map = tableLines = [ startLine, 0 ];
token = state.push('thead_open', 'thead', 1);