|
@@ -1,4 +1,4 @@
|
|
-;/*! showdown 13-07-2015 */
|
|
|
|
|
|
+;/*! showdown 14-07-2015 */
|
|
(function(){
|
|
(function(){
|
|
/**
|
|
/**
|
|
* Created by Tivie on 13-07-2015.
|
|
* Created by Tivie on 13-07-2015.
|
|
@@ -2140,7 +2140,7 @@ showdown.subParser('tables', function (text, options, globals) {
|
|
if (options.tableHeaderId) {
|
|
if (options.tableHeaderId) {
|
|
id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
|
|
id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
|
|
}
|
|
}
|
|
- if (style.trim() === '') {
|
|
|
|
|
|
+ if (!style || style.trim() === '') {
|
|
style = '';
|
|
style = '';
|
|
} else {
|
|
} else {
|
|
style = ' style="' + style + '"';
|
|
style = ' style="' + style + '"';
|
|
@@ -2150,7 +2150,7 @@ showdown.subParser('tables', function (text, options, globals) {
|
|
|
|
|
|
tables.td = function (cell, style) {
|
|
tables.td = function (cell, style) {
|
|
var subText = showdown.subParser('spanGamut')(cell.trim(), options, globals);
|
|
var subText = showdown.subParser('spanGamut')(cell.trim(), options, globals);
|
|
- if (style.trim() === '') {
|
|
|
|
|
|
+ if (!style || style.trim() === '') {
|
|
style = '';
|
|
style = '';
|
|
} else {
|
|
} else {
|
|
style = ' style="' + style + '"';
|
|
style = ' style="' + style + '"';
|