Skip to content

Commit

Permalink
Merge pull request #179 from j-rausch/infobox_thead
Browse files Browse the repository at this point in the history
Write start and end tags of thead into separate lines
  • Loading branch information
spencermountain committed Sep 14, 2018
2 parents 4cf8bd7 + 03a2f8d commit 1e5f3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/infobox/toHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const dontDo = {
//
const infobox = function(obj, options) {
let html = '<table class="infobox">\n';
html += ' <thead></thead>\n';
html += ' <thead>\n';
html += ' </thead>\n';
html += ' <tbody>\n';
//put image and caption on the top
if (obj.data.image) {
Expand Down

0 comments on commit 1e5f3e1

Please sign in to comment.